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
This commit is contained in:
Aaron Giles 2008-08-28 08:41:56 +00:00
parent a27dbe428a
commit 951ab24aaa

View File

@ -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,