Browse files

Cocoa Port: Expose the new feature to change the GPU color depth in t…

…he UI. (Related to commit 3b37058.)
  • Loading branch information...
rogerman committed Jul 19, 2017
1 parent 3b37058 commit c3bce8755681d9f044d1b1297734b7423670fc3c
@@ -708,6 +708,8 @@
@@ -271,6 +271,19 @@ - (NSUInteger) gpuScale
- (void) setGpuColorFormat:(NSUInteger)colorFormat
// First check for a valid color format. Abort if the color format is invalid.
switch ((NDSColorFormat)colorFormat)
case NDSColorFormat_BGR555_Rev:
case NDSColorFormat_BGR666_Rev:
case NDSColorFormat_BGR888_Rev:
// Change the color format.
[[self sharedData] finishAllDisplayViewsAtIndex:0];
[[self sharedData] finishAllDisplayViewsAtIndex:1];
Oops, something went wrong.

0 comments on commit c3bce87

Please sign in to comment.