mirror of
https://github.com/holub/mame
synced 2025-05-30 09:33:05 +03:00
this breaks more than it fixes. Revert "z80 disassembler, stopped invalid dd & fd instructions from eating the next byte [smf]"
This reverts commit 347396faed
.
This commit is contained in:
parent
1905584a6b
commit
6831f9fa4f
@ -420,10 +420,9 @@ offs_t z80_disassembler::disassemble(std::ostream &stream, offs_t pc, const data
|
||||
case 0xdd:
|
||||
{
|
||||
ixy = "ix";
|
||||
u8 op1 = opcodes.r8(pos);
|
||||
u8 op1 = opcodes.r8(pos++);
|
||||
if( op1 == 0xcb )
|
||||
{
|
||||
pos++;
|
||||
offset = params.r8(pos++);
|
||||
op1 = params.r8(pos++);
|
||||
d = &mnemonic_xx_cb[op1];
|
||||
@ -435,10 +434,9 @@ offs_t z80_disassembler::disassemble(std::ostream &stream, offs_t pc, const data
|
||||
case 0xfd:
|
||||
{
|
||||
ixy = "iy";
|
||||
u8 op1 = opcodes.r8(pos);
|
||||
u8 op1 = opcodes.r8(pos++);
|
||||
if( op1 == 0xcb )
|
||||
{
|
||||
pos++;
|
||||
offset = params.r8(pos++);
|
||||
op1 = params.r8(pos++);
|
||||
d = &mnemonic_xx_cb[op1];
|
||||
|
Loading…
Reference in New Issue
Block a user