Lua: initialize 'transparencyModifier'
This commit is contained in:
parent
469bf325a1
commit
9ca250083a
|
@ -3435,6 +3435,7 @@ int FCEU_LoadLuaCode(const char *filename) {
|
||||||
luaRunning = TRUE;
|
luaRunning = TRUE;
|
||||||
skipRerecords = FALSE;
|
skipRerecords = FALSE;
|
||||||
numMemHooks = 0;
|
numMemHooks = 0;
|
||||||
|
transparencyModifier = 255; // opaque
|
||||||
|
|
||||||
wasPaused = FCEUI_EmulationPaused();
|
wasPaused = FCEUI_EmulationPaused();
|
||||||
if (wasPaused) FCEUI_ToggleEmulationPause();
|
if (wasPaused) FCEUI_ToggleEmulationPause();
|
||||||
|
|
Loading…
Reference in New Issue