Fill in retro_init with logger initialization

This commit is contained in:
twinaphex 2014-01-12 15:08:15 +01:00
parent f15322e63b
commit dcdc7cd731

View File

@ -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)