drc: make sure dyna_linker is really called from stub
authornotaz <notasas@gmail.com>
Mon, 19 Sep 2011 21:01:39 +0000 (00:01 +0300)
committernotaz <notasas@gmail.com>
Mon, 19 Sep 2011 21:01:39 +0000 (00:01 +0300)
commit76f71c2748608a51e1f9a49273eb3ff58e715700
treea3bd4185a1745ac6e6d3e354be512f55377e3e15
parenteba830cd5dc35bc900ea60d8c06ee582178280a4
drc: make sure dyna_linker is really called from stub

in very rare cases add_link() would end up being called with jump to
another block and not stub, which would later cause kill_pointer() to
crash while cleaning jump_out. I'm guessing wrong pointer was being
picked from jump_in by dyna_linker, failing to detect stale cache,
and hoping this will fix it.
libpcsxcore/new_dynarec/linkage_arm.s
libpcsxcore/new_dynarec/new_dynarec.c