[hatari-devel] New Hatariod with: fix to broken Hatari saves

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

I noticed that there is a new Hataroid, thus, inspected
the changes. What caught my eye is:

// HACK: fix to broken Hatari saves (they shouldn't be saving a pointer!!!)

see below:

https://github.com/squalldc/hataroid/commit/87c4d4dbc9db92e3868ff4c5915cf39fc3865922

hatari/src/video.c

@@ -564,6 +564,9 @@ void Video_MemorySnapShot_Capture(bool bSave)
MemorySnapShot_Store(&bTTSampleHold, sizeof(bTTSampleHold));
MemorySnapShot_Store(&bTTHypermono, sizeof(bTTHypermono));
MemorySnapShot_Store(&TTSpecialVideoMode, sizeof(TTSpecialVideoMode));
+
+ // HACK: fix to broken Hatari saves (they shouldn't be saving a pointer!!!)
+ pVideoRaster = &STRam[VideoBase];
}



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/