Skip to content

Commit

Permalink
Beetle don’t override gles video sizes
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Mattiello <[email protected]>
  • Loading branch information
JoeMatt committed Jan 1, 2025
1 parent 25c3ac6 commit 94fa924
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions Cores/BeetlePSX/PVBeetlePSXCore/PVBeetlePSXCoreBridge.mm
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,17 @@ - (BOOL)supportsCheatCode { return YES; }
// return CGSizeMake(1024, 1024);
//}
//
- (GLenum)pixelFormat {
return GL_RGBA;
}

- (GLenum)pixelType {
return GL_UNSIGNED_BYTE;
}

- (GLenum)internalPixelFormat {
return GL_RGBA;
}
//- (GLenum)pixelFormat {
// return GL_RGBA;
//}
//
//- (GLenum)pixelType {
// return GL_UNSIGNED_BYTE;
//}
//
//- (GLenum)internalPixelFormat {
// return GL_RGBA;
//}

//- (BOOL)isDoubleBuffered {
// return YES;
Expand Down Expand Up @@ -245,14 +245,14 @@ - (void *)getVariable:(const char *)variable {
}

// Override buffer size for BeetlePSX's requirements
- (CGSize)bufferSize {
return CGSizeMake(640, 480); // Standard PSX resolution
}
//- (CGSize)bufferSize {
// return CGSizeMake(640, 480); // Standard PSX resolution
//}

// Set aspect ratio
- (CGSize)aspectSize {
return CGSizeMake(4, 3); // Standard PSX aspect ratio
}
//- (CGSize)aspectSize {
// return CGSizeMake(4, 3); // Standard PSX aspect ratio
//}

#pragma MARK: Controls
- (void)didPushPSXButton:(PVPSXButton)button forPlayer:(NSInteger)player {
Expand Down

0 comments on commit 94fa924

Please sign in to comment.