X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu_threaded.c;fp=cpu_threaded.c;h=4ff1548733c3e4a4e2abc825f4c10fcd4fd402b8;hb=f50ad10a9b620788f189f0c44fa79b295f52dab4;hp=a753c17389ecf7b7b490a185c544de61f4d2e190;hpb=42c8119010bfc48776e8c82e42cceb06d07c0247;p=gpsp.git diff --git a/cpu_threaded.c b/cpu_threaded.c index a753c17..4ff1548 100644 --- a/cpu_threaded.c +++ b/cpu_threaded.c @@ -3412,6 +3412,7 @@ void flush_translation_cache_ram() (ram_translation_ptr - ram_translation_cache) + 0x100); #endif ram_translation_ptr = ram_translation_cache; + last_ram_translation_ptr = ram_translation_cache; ram_block_tag_top = 0x0101; if(iwram_code_min != 0xFFFFFFFF) { @@ -3467,6 +3468,7 @@ void flush_translation_cache_rom() #endif rom_translation_ptr = rom_translation_cache; + last_rom_translation_ptr = rom_translation_cache; memset(rom_branch_hash, 0, sizeof(rom_branch_hash)); } @@ -3479,6 +3481,7 @@ void flush_translation_cache_bios() bios_block_tag_top = 0x0101; bios_translation_ptr = bios_translation_cache; + last_bios_translation_ptr = bios_translation_cache; memset(bios_rom + 0x4000, 0, 0x4000); }