summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2012-10-28 12:11:20 +0000
committer Curt Coder <curtcoder@mail.com>2012-10-28 12:11:20 +0000
commitd24e75d58e2b0d6148fc4e177d2ce1b070275561 (patch)
treea3f1ad0c4813ccf6d28168f75eac94a829946ec9 /src
parent276ca314fb16aeb9dc31d0ae812bbe15eebce8cf (diff)
(MESS) c64: Fixed C64GS cartridge. (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mess/machine/c64_system3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mess/machine/c64_system3.c b/src/mess/machine/c64_system3.c
index a5d7778d786..c37d376647f 100644
--- a/src/mess/machine/c64_system3.c
+++ b/src/mess/machine/c64_system3.c
@@ -66,6 +66,12 @@ UINT8 c64_system3_cartridge_device::c64_cd_r(address_space &space, offs_t offset
offs_t addr = (m_bank << 13) | (offset & 0x1fff);
data = m_roml[addr];
}
+ else if (!io1)
+ {
+ m_bank = offset & 0x3f;
+ m_game = 1;
+ data = 0;
+ }
return data;
}
@@ -80,5 +86,6 @@ void c64_system3_cartridge_device::c64_cd_w(address_space &space, offs_t offset,
if (!io1)
{
m_bank = offset & 0x3f;
+ m_game = 0;
}
}