From 5887c13a6795ecc2b3dbecbc24a737ce7c783f42 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 28 Aug 2021 17:16:45 -0230 Subject: [PATCH] Added preliminary support for 'MVC' bankswitching scheme by Rob Bairos. --- Changes.txt | 3 +++ src/emucore/CartMVC.cxx | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Changes.txt b/Changes.txt index b79a29346..07b70ecf6 100644 --- a/Changes.txt +++ b/Changes.txt @@ -14,6 +14,9 @@ 6.5.3 to 6.6 (??? ??, 202?) + * Added preliminary support for 'MVC' bankswitching scheme by + Rob Bairos. + * Added web links for many games * Debugger: added optional logging of breaks and traps diff --git a/src/emucore/CartMVC.cxx b/src/emucore/CartMVC.cxx index 54c509396..37d3d6024 100755 --- a/src/emucore/CartMVC.cxx +++ b/src/emucore/CartMVC.cxx @@ -132,8 +132,7 @@ class StreamReader : public Serializable out.putByteArray(myBuffer1, CartridgeMVC::MVC_FIELD_SIZE); out.putByteArray(myBuffer2, CartridgeMVC::MVC_FIELD_SIZE); - // FIXME - complete this - #if 0 + #if 0 // FIXME - determine whether we need to load/save this const uInt8* myAudio const uInt8* myGraph const uInt8* myGraphOverride @@ -156,8 +155,7 @@ class StreamReader : public Serializable in.getByteArray(myBuffer1, CartridgeMVC::MVC_FIELD_SIZE); in.getByteArray(myBuffer2, CartridgeMVC::MVC_FIELD_SIZE); - // FIXME - complete this - #if 0 + #if 0 // FIXME - determine whether we need to load/save this const uInt8* myAudio const uInt8* myGraph const uInt8* myGraphOverride @@ -1421,7 +1419,8 @@ bool MovieCart::save(Serializer& out) const out.putByte(myButtonsValue); out.putByte(myVolume); -// FIXME const uInt8* myVolumeScale{scales[DEFAULT_LEVEL]}; + // FIXME - determine whether we need to load/save this + // const uInt8* myVolumeScale{scales[DEFAULT_LEVEL]}; out.putByte(myFirstAudioVal); } catch(...) @@ -1474,7 +1473,8 @@ bool MovieCart::load(Serializer& in) myButtonsValue = in.getByte(); myVolume = in.getByte(); -// FIXME const uInt8* myVolumeScale{scales[DEFAULT_LEVEL]}; + // FIXME - determine whether we need to load/save this + // const uInt8* myVolumeScale{scales[DEFAULT_LEVEL]}; myFirstAudioVal = in.getByte(); } catch(...)