mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
lr35902: Fix disassembly
This commit is contained in:
parent
b0755f50e6
commit
ad726bd451
@ -181,7 +181,7 @@ offs_t lr35902_disassembler::disassemble(std::ostream &stream, offs_t pc, const
|
||||
int8_t offset;
|
||||
uint8_t op, op1;
|
||||
uint16_t ea;
|
||||
int pos = 0;
|
||||
int pos = pc;
|
||||
|
||||
//symbol = nullptr;
|
||||
|
||||
@ -255,5 +255,5 @@ offs_t lr35902_disassembler::disassemble(std::ostream &stream, offs_t pc, const
|
||||
util::stream_format(stream, "%s", s_mnemonic[d->mnemonic]);
|
||||
}
|
||||
|
||||
return pos | s_flags[d->mnemonic] | SUPPORTED;
|
||||
return (pos - pc) | s_flags[d->mnemonic] | SUPPORTED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user