summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-08-28 08:41:56 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-08-28 08:41:56 +0000
commit951ab24aaa852ecd32668de553bd36006b396a10 (patch)
tree5c7ab9f6c79d8e6a34c4da533d7ad9af7021be8b
parenta27dbe428a06c7ef252d7361e070672404d91029 (diff)
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
-rw-r--r--src/emu/cpu/m68000/m68kmame.c4
1 files 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,