mirror of
https://github.com/OpenEmu/VecXGL-Core.git
synced 2025-11-01 11:08:56 +00:00
Update deprecated OpenEmu methods.
Also update Xcode project.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user