From 951ab24aaa852ecd32668de553bd36006b396a10 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 28 Aug 2008 08:41:56 +0000 Subject: [PATCH] From: Christophe Jaillet [mailto:christophe.jaillet@wanadoo.fr] Subject: Profiler related #2 (v2) Hi, this a revised version of a patch I sent yesterday. This one is much more cleaner, and the speed improvement is now significant enough to come out of the profiling noise. More over, this one compiles correctly... ;-) Best regards, Christophe Jaillet --- src/emu/cpu/m68000/m68kmame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/cpu/m68000/m68kmame.c b/src/emu/cpu/m68000/m68kmame.c index adce5da98e2..46df696283a 100644 --- a/src/emu/cpu/m68000/m68kmame.c +++ b/src/emu/cpu/m68000/m68kmame.c @@ -22,7 +22,7 @@ void m68k_set_encrypted_opcode_range(int cpunum, offs_t start, offs_t end) static UINT16 m68008_read_immediate_16(offs_t address) { - offs_t addr = (address) ^ m68k_memory_intf.opcode_xor; + offs_t addr = address; return (cpu_readop(addr) << 8) | (cpu_readop(addr + 1)); } @@ -52,7 +52,7 @@ static UINT16 read_immediate_16(offs_t address) static const m68k_memory_interface interface_d16 = { 0, - read_immediate_16, + cpu_readop16, program_read_byte_16be, program_read_word_16be, program_read_dword_16be,