From 3cf17ecef2ac48e92910ac971fec9ea5b3eeb1d3 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 12 Dec 2008 00:19:08 +0000 Subject: Implemented snapshots and SAVE. --- source/main.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source/main.c') diff --git a/source/main.c b/source/main.c index 674478e..218dd40 100644 --- a/source/main.c +++ b/source/main.c @@ -59,8 +59,8 @@ static const char *main_menu[]= #ifndef DS81_DISABLE_FAT "Save Memory Snapshot", "Load Memory Snapshot", - "Save Joypad Mappings", - "Load Joypad Mappings", + "Save Joypad/Key State", + "Load Joypad/Key State", #endif "Cancel", NULL @@ -98,9 +98,9 @@ static void Splash(void) " " "Welcome to DS81, a ZX81 emulator for the Ninetendo DS. " "You can safely ignore this message. I was just bored for half an " - "hour. And no retro item is complete without a side-scroller... " - "Thanks to Slay Radio, the Genki Rockets and the High Voltage SID " - "Collection for coding fuel." + "hour. And no retro game is complete without a side-scroller... " + "Thanks to Slay Radio, Ladytron, the Genki Rockets, the High " + "Voltage SID Collection and Retro Gamer for coding fuel." }; static const char *text[]= @@ -394,7 +394,7 @@ int main(int argc, char *argv[]) if (DS81_Config[DS81_LOAD_DEFAULT_SNAPSHOT]) { - SNAP_Load(z80, "AUTO"); + SNAP_Load(z80, "AUTO", SNAP_TYPE_FULL); } while(1) @@ -438,19 +438,19 @@ int main(int argc, char *argv[]) #ifndef DS81_DISABLE_FAT case MenuSaveSnapshot: - SNAP_Save(z80); + SNAP_Save(z80, SNAP_TYPE_FULL); break; case MenuLoadSnapshot: - SNAP_Load(z80, NULL); + SNAP_Load(z80, NULL, SNAP_TYPE_FULL); break; case MenuSaveMappings: - // TODO + SNAP_Save(z80, SNAP_TYPE_KEYBOARD); break; case MenuLoadMappings: - // TODO + SNAP_Load(z80, NULL, SNAP_TYPE_KEYBOARD); break; #endif } -- cgit v1.2.3