diff --git a/src/platform/openemu/Info.plist.in b/src/platform/openemu/Info.plist.in
index b99c084c3..9ab3b28f5 100644
--- a/src/platform/openemu/Info.plist.in
+++ b/src/platform/openemu/Info.plist.in
@@ -26,6 +26,12 @@
openemu.system.gba
+ OEGameCoreRewindBufferSeconds
+ 1200
+ OEGameCoreRewindInterval
+ 0
+ OEGameCoreSupportsRewinding
+
OEGameCorePlayerCount
diff --git a/src/platform/openemu/mGBAGameCore.m b/src/platform/openemu/mGBAGameCore.m
index 04721a432..5f220fb95 100644
--- a/src/platform/openemu/mGBAGameCore.m
+++ b/src/platform/openemu/mGBAGameCore.m
@@ -209,7 +209,7 @@
- (NSData *)serializeStateWithError:(NSError **)outError
{
struct VFile* vf = VFileMemChunk(nil, 0);
- if (!GBASaveStateNamed(context.gba, vf, 0)) {
+ if (!GBASaveStateNamed(context.gba, vf, SAVESTATE_SAVEDATA)) {
*outError = [NSError errorWithDomain:OEGameCoreErrorDomain code:OEGameCoreCouldNotLoadStateError userInfo:nil];
vf->close(vf);
return nil;
@@ -225,7 +225,7 @@
- (BOOL)deserializeState:(NSData *)state withError:(NSError **)outError
{
struct VFile* vf = VFileFromConstMemory(state.bytes, state.length);
- if (!GBALoadStateNamed(context.gba, vf, 0)) {
+ if (!GBALoadStateNamed(context.gba, vf, SAVESTATE_SAVEDATA)) {
*outError = [NSError errorWithDomain:OEGameCoreErrorDomain code:OEGameCoreCouldNotLoadStateError userInfo:nil];
vf->close(vf);
return NO;