diff --git a/desmume/src/frontend/cocoa/cocoa_GPU.mm b/desmume/src/frontend/cocoa/cocoa_GPU.mm index d95d8ebd5..4efbcc40c 100644 --- a/desmume/src/frontend/cocoa/cocoa_GPU.mm +++ b/desmume/src/frontend/cocoa/cocoa_GPU.mm @@ -159,7 +159,6 @@ public: gpuEvent = new GPUEventHandlerOSX; GPU->SetEventHandler(gpuEvent); - GPU->SetWillAutoResolveToCustomBuffer(false); fetchObject = NULL; @@ -193,6 +192,8 @@ public: fetchObject->Init(); gpuEvent->SetFetchObject(fetchObject); + + GPU->SetWillAutoResolveToCustomBuffer(false); #endif [self clearWithColor:0x8000]; diff --git a/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm b/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm index 2fe103db0..85e9213a3 100644 --- a/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm +++ b/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm @@ -85,6 +85,8 @@ volatile bool execute = true; cdsGPU = [[[[CocoaDSGPU alloc] init] retain] autorelease]; [cdsGPU setRender3DThreads:0]; // Pass 0 to automatically set the number of rendering threads [cdsGPU setRender3DRenderingEngine:CORE3DLIST_SWRASTERIZE]; + [cdsGPU setGpuScale:1]; + [cdsGPU setGpuColorFormat:NDSColorFormat_BGR666_Rev]; // Set up the DS controller cdsController = [[[[CocoaDSController alloc] init] retain] autorelease]; @@ -305,7 +307,7 @@ volatile bool execute = true; - (GLenum)pixelType { - return GL_UNSIGNED_SHORT_1_5_5_5_REV; + return GL_UNSIGNED_INT_8_8_8_8_REV; } - (GLenum)pixelFormat @@ -315,7 +317,7 @@ volatile bool execute = true; - (GLenum)internalPixelFormat { - return GL_RGB5_A1; + return GL_RGBA; } #pragma mark - Audio