From d6e80e7864162b20ee011c7bcb8047d4eaf3946a Mon Sep 17 00:00:00 2001 From: rogerman Date: Mon, 20 Sep 2021 11:12:19 -0700 Subject: [PATCH] OpenEmu Plug-in: This frame buffer also needs to use masterCustomBuffer because it's running 18-bit color space. --- desmume/src/frontend/cocoa/openemu/NDSGameCore.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm b/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm index c93edecd1..fd5dab742 100644 --- a/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm +++ b/desmume/src/frontend/cocoa/openemu/NDSGameCore.mm @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2017 DeSmuME team + Copyright (C) 2012-2021 DeSmuME team This file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -264,7 +264,7 @@ volatile bool execute = true; - (const void *)getVideoBufferWithHint:(void *)hint { - return GPU->GetDisplayInfo().masterNativeBuffer16; + return GPU->GetDisplayInfo().masterCustomBuffer; } - (OEGameCoreRendering)gameCoreRendering