Update deprecated OpenEmu methods.

Also update Xcode project.
This commit is contained in:
C.W. Betts
2019-08-27 17:26:10 -06:00
parent b4013f4d88
commit 1cdcb7ec9b
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -97,6 +97,7 @@
986F323416D3FF4F00BB38E2 /* Products */,
);
sourceTree = "<group>";
usesTabs = 0;
};
986F323416D3FF4F00BB38E2 /* Products */ = {
isa = PBXGroup;
@@ -200,7 +201,7 @@
};
buildConfigurationList = 986F322E16D3FF4F00BB38E2 /* Build configuration list for PBXProject "VecXGL" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
+3 -3
View File
@@ -102,7 +102,7 @@ VectrexGameCore *g_core;
- (void)updateSound:(uint8_t *)buff len:(int)len
{
[[g_core ringBufferAtIndex:0] write:buff maxLength:len];
[[g_core audioBufferAtIndex:0] write:buff maxLength:len];
}
- (void)resetEmulation
@@ -156,9 +156,9 @@ VectrexGameCore *g_core;
return OEIntSizeMake(videoWidth, videoHeight);
}
- (BOOL)rendersToOpenGL
- (OEGameCoreRendering)gameCoreRendering
{
return YES;
return OEGameCoreRenderingOpenGL2Video;
}
- (const void *)videoBuffer