mirror of
https://github.com/libretro/scenewalker-libretro.git
synced 2024-11-23 07:49:43 +00:00
Fix log interface usage.
This commit is contained in:
parent
88cb3faa01
commit
0521537618
@ -75,9 +75,10 @@ void retro_init(void)
|
||||
{
|
||||
struct retro_log_callback log;
|
||||
|
||||
environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &log);
|
||||
if (log.log)
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &log))
|
||||
log_cb = log.log;
|
||||
else
|
||||
log_cb = NULL;
|
||||
}
|
||||
|
||||
void retro_deinit(void)
|
||||
|
Loading…
Reference in New Issue
Block a user