mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
Fix compile for cop400 using mentioned fix from QMC2(nw)
This commit is contained in:
parent
b4e5fdcedb
commit
5e55ce601e
3 changed files with 3 additions and 3 deletions
|
@ -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 a new issue