mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Fix compile for cop400 using mentioned fix from QMC2(nw)
This commit is contained in:
parent
b4e5fdcedb
commit
5e55ce601e
@ -22,7 +22,7 @@ CPU_DISASSEMBLE(cop410)
|
||||
{
|
||||
int page = pc >> 6;
|
||||
|
||||
if (page == 2 | page == 3) //JP pages 2,3
|
||||
if (page == 2 || page == 3) //JP pages 2,3
|
||||
{
|
||||
address = (uint16_t)((pc & 0x180) | (opcode & 0x7F));
|
||||
util::stream_format(stream, "JP %03x", address);
|
||||
|
@ -22,7 +22,7 @@ CPU_DISASSEMBLE(cop420)
|
||||
{
|
||||
int page = pc >> 6;
|
||||
|
||||
if (page == 2 | page == 3) //JP pages 2,3
|
||||
if (page == 2 || page == 3) //JP pages 2,3
|
||||
{
|
||||
address = (uint16_t)((pc & 0x380) | (opcode & 0x7F));
|
||||
util::stream_format(stream, "JP %03x", address);
|
||||
|
@ -22,7 +22,7 @@ CPU_DISASSEMBLE(cop444)
|
||||
{
|
||||
int page = pc >> 6;
|
||||
|
||||
if (page == 2 | page == 3) //JP pages 2,3
|
||||
if (page == 2 || page == 3) //JP pages 2,3
|
||||
{
|
||||
address = (uint16_t)((pc & 0x780) | (opcode & 0x7F));
|
||||
util::stream_format(stream, "JP %03x", address);
|
||||
|
Loading…
Reference in New Issue
Block a user