mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
a2eramworks3.cpp: fix Franklin 500 384K expansion to correctly limit memory to 384K. [R. Belmont]
This commit is contained in:
parent
92606525b3
commit
028d02ba7a
4
src/devices/bus/a2bus/a2eramworks3.cpp
Normal file → Executable file
4
src/devices/bus/a2bus/a2eramworks3.cpp
Normal file → Executable file
@ -115,9 +115,9 @@ void a2eaux_franklin384_device::write_c07x(uint8_t offset, uint8_t data)
|
||||
{
|
||||
// RamWorks/Z-RAM bank order is 0 3 4 7 8 11 12 15
|
||||
// so cut off access above bank 11 to limit to 384K.
|
||||
if (m_bank > 11)
|
||||
if (data > 11)
|
||||
{
|
||||
m_bank = 0;
|
||||
data = 0;
|
||||
}
|
||||
m_bank = 0x10000 * (data & 0xf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user