[hatari-devel] New Hatariod with: fix to broken Hatari saves |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] New Hatariod with: fix to broken Hatari saves
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Sat, 27 Dec 2014 17:47:49 -0700 (MST)
- Thread-index: XK89NllZwgM2KITsy+2YnsZOBP8B6w==
- Thread-topic: New Hatariod with: fix to broken Hatari saves
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];
}