Skip to content

Commit

Permalink
[libretro] Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jan 16, 2024
1 parent 9295304 commit 5dadae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static retro_environment_t environ_cb;

void retro_init(void)
{
if (cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &logging))
if (environ_cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &logging))
log_cb = logging.log;
else
log_cb = fallback_log;
Expand Down

0 comments on commit 5dadae7

Please sign in to comment.