mirror of
https://github.com/libretro/modelviewer-libretro.git
synced 2024-11-30 03:30:30 +00:00
Fill in retro_init with logger initialization
This commit is contained in:
parent
f15322e63b
commit
dcdc7cd731
@ -51,6 +51,12 @@ static std1::shared_ptr<Texture> blank;
|
||||
|
||||
void retro_init(void)
|
||||
{
|
||||
struct retro_log_callback 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