Mercurial > repos > blastem
diff blastem.c @ 103:a71544cd01ea
Don't pre-emptively translate code at interrupt vectors as some PD ROMs have these pointing at junk. Need some kind of heuristic for detecting garbage if I'm going to translate them ahead of time by default.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 27 Dec 2012 22:48:54 -0800 |
parents | dd3c680c618c |
children | 11d72e471104 |
line wrap: on
line diff
--- a/blastem.c Thu Dec 27 22:41:28 2012 -0800 +++ b/blastem.c Thu Dec 27 22:48:54 2012 -0800 @@ -487,12 +487,12 @@ //work RAM context.mem_pointers[1] = ram; uint32_t address; - address = cart[0x68/2] << 16 | cart[0x6A/2]; + /*address = cart[0x68/2] << 16 | cart[0x6A/2]; translate_m68k_stream(address, &context); address = cart[0x70/2] << 16 | cart[0x72/2]; translate_m68k_stream(address, &context); address = cart[0x78/2] << 16 | cart[0x7A/2]; - translate_m68k_stream(address, &context); + translate_m68k_stream(address, &context);*/ address = cart[2] << 16 | cart[3]; translate_m68k_stream(address, &context); m68k_reset(&context);