Lua: initialize 'transparencyModifier'

This commit is contained in:
gocha 2009-10-14 22:43:12 +00:00
parent 469bf325a1
commit 9ca250083a
1 changed files with 1 additions and 0 deletions

View File

@ -3435,6 +3435,7 @@ int FCEU_LoadLuaCode(const char *filename) {
luaRunning = TRUE;
skipRerecords = FALSE;
numMemHooks = 0;
transparencyModifier = 255; // opaque
wasPaused = FCEUI_EmulationPaused();
if (wasPaused) FCEUI_ToggleEmulationPause();