Permalink
Browse files

video: Added some logging

  • Loading branch information...
fzurita committed Feb 13, 2016
1 parent f4288a9 commit dfea2115b2c60546625347d63ff2d8f8e81c47eb
Showing with 11 additions and 0 deletions.
  1. +11 −0 jni/mupen64plus-video-glide2gl/src/libretro/libretro.c
@@ -102,6 +102,11 @@ void update_variables(bool startup)
screen_width = 640;
screen_height = 480;
}
if(log_cb)
{
log_cb (RETRO_LOG_INFO, "Resolution=%dx%d", screen_width, screen_height);
}
}
if (startup)
@@ -295,6 +300,12 @@ bool environment(unsigned cmd, void *data)
int width = Config_ReadScreenInt("ScreenWidth");
int height = Config_ReadScreenInt("ScreenHeight");
sprintf(returnData, "%dx%d", width, height);
if(log_cb)
{
log_cb (RETRO_LOG_INFO, "Setting screen resolution to %s", returnData);
}
}
else if (!strcmp (var->key, "mupen64-gfxplugin-accuracy"))
{

0 comments on commit dfea211

Please sign in to comment.