mirror of https://github.com/snes9xgit/snes9x.git
Fix calls to log interface.
This commit is contained in:
parent
dfc6227e7b
commit
378298eef6
|
@ -328,9 +328,10 @@ void retro_init()
|
||||||
use_overscan = false;
|
use_overscan = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &log);
|
if (environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &log))
|
||||||
if (log.log)
|
|
||||||
log_cb = log.log;
|
log_cb = log.log;
|
||||||
|
else
|
||||||
|
log_cb = NULL;
|
||||||
|
|
||||||
memset(&Settings, 0, sizeof(Settings));
|
memset(&Settings, 0, sizeof(Settings));
|
||||||
Settings.MouseMaster = TRUE;
|
Settings.MouseMaster = TRUE;
|
||||||
|
|
Loading…
Reference in New Issue