summaryrefslogtreecommitdiff
path: root/cpu.c
diff options
context:
space:
mode:
authoraliaspider2014-12-09 05:16:09 +0100
committeraliaspider2014-12-09 05:16:09 +0100
commitb69fee8b3139eb26405c20aa3adde166f9034b59 (patch)
tree99cd6453677178d02e28ed867c76a2d440fc6cbc /cpu.c
parent3cc3944725700c957b006de6f5a2ee2944d2f525 (diff)
downloadpicogpsp-b69fee8b3139eb26405c20aa3adde166f9034b59.tar.gz
picogpsp-b69fee8b3139eb26405c20aa3adde166f9034b59.tar.bz2
picogpsp-b69fee8b3139eb26405c20aa3adde166f9034b59.zip
video output now works in statically linked builds.
core can't be used as a shared library yet due to the dynarec not working when compiled with -fPIC
Diffstat (limited to 'cpu.c')
-rw-r--r--cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu.c b/cpu.c
index 4397568..942bb2f 100644
--- a/cpu.c
+++ b/cpu.c
@@ -4274,7 +4274,7 @@ void function_cc step_debug(u32 pc, u32 cycles)
u16 *current_screen = copy_screen();
get_savestate_filename_noshot(savestate_slot,
current_savestate_filename);
- save_state(current_savestate_filename, current_screen);
+ gba_save_state(current_savestate_filename, current_screen);
free(current_screen);
break;
}