Clean up deprecated methods.

This commit is contained in:
Remy Demarest
2015-12-12 17:05:43 -08:00
parent 228fd9df72
commit 2f86de31b2
+4 -9
View File
@@ -469,11 +469,6 @@ OdysseyGameCore *current;
}
- (void)executeFrame
{
[self executeFrameSkippingFrame:NO];
}
- (void)executeFrameSkippingFrame:(BOOL)skip
{
//run();
cpu_exec();
@@ -617,14 +612,14 @@ OdysseyGameCore *current;
joystick_data[player][4] = 0;
}
- (BOOL)saveStateToFileAtPath:(NSString *)fileName
- (void)saveStateToFileAtPath:(NSString *)fileName completionHandler:(void (^)(BOOL, NSError *))block
{
return savestate([fileName UTF8String]) ? YES : NO;
block(savestate(fileName.fileSystemRepresentation) ? YES : NO, nil);
}
- (BOOL)loadStateFromFileAtPath:(NSString *)fileName
- (void)loadStateFromFileAtPath:(NSString *)fileName completionHandler:(void (^)(BOOL, NSError *))block
{
return loadstate([fileName UTF8String]) ? YES : NO;
block(loadstate(fileName.fileSystemRepresentation) ? YES : NO, nil);
}
@end