Update Bmc-10-24-C-A1

Use WritePrgRam() instead of writing directly  to _workRam[]
This commit is contained in:
negativeExponent 2022-03-05 15:04:26 +08:00
parent d7ca59b03b
commit d1049b14f1

View file

@ -51,7 +51,7 @@ protected:
{
if(addr <= 0x7FFF) {
if(CanWriteToWorkRam()) {
_workRam[addr - 0x6000] = value;
WritePrgRam(addr, value);
if ((_exReg & 0x07) == 0) {
_exReg = addr & 0x3F;
UpdatePrgMapping();