MCPcopy Create free account
hub / github.com/TASEmulators/fceux / fceuWrapperUnLock

Function fceuWrapperUnLock

src/drivers/Qt/fceuWrapper.cpp:1425–1440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1423}
1424
1425void fceuWrapperUnLock(void)
1426{
1427 if ( mutexLocks > 0 )
1428 {
1429 mutexLocks--;
1430 if ( consoleWindow != NULL )
1431 {
1432 consoleWindow->mutex->unlock();
1433 }
1434 }
1435 else
1436 {
1437 printf("Error: Mutex is Already UnLocked\n");
1438 //abort(); // Uncomment to catch a stack trace
1439 }
1440}
1441
1442bool fceuWrapperIsLocked(void)
1443{

Callers 15

LoadGameFromLuaFunction · 0.85
CloseGameFunction · 0.85
fceuWrapperUpdateFunction · 0.85
~fceuCriticalSectionMethod · 0.85
hueChangedMethod · 0.85
tintChangedMethod · 0.85
use_Custom_ChangedMethod · 0.85
deemphswap_ChangedMethod · 0.85
use_NTSC_ChangedMethod · 0.85
clearPaletteMethod · 0.85
openPaletteFileMethod · 0.85

Calls 1

unlockMethod · 0.45

Tested by

no test coverage detected