misc shit

This commit is contained in:
Arisotura
2024-10-31 22:37:46 +01:00
parent f3bd58f75e
commit 9c8f229fed
4 changed files with 12 additions and 12 deletions

View File

@ -319,13 +319,13 @@ void EmuThread::run()
if (!useOpenGL)
{
FrontBufferLock.lock();
FrontBuffer = emuInstance->nds->GPU.FrontBuffer;
FrontBufferLock.unlock();
frontBufferLock.lock();
frontBuffer = emuInstance->nds->GPU.FrontBuffer;
frontBufferLock.unlock();
}
else
{
FrontBuffer = emuInstance->nds->GPU.FrontBuffer;
frontBuffer = emuInstance->nds->GPU.FrontBuffer;
emuInstance->drawScreenGL();
}