mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(iOS) Cleanups
This commit is contained in:
parent
b9aa2d1c1d
commit
4c5bb6f50f
@ -278,8 +278,9 @@ static void apple_gfx_ctx_update_window_title(void *data)
|
||||
static char buf[128], buf_fps[128];
|
||||
bool got_text = video_monitor_get_fps(buf, sizeof(buf),
|
||||
buf_fps, sizeof(buf_fps));
|
||||
static const char* const text = buf; /* < Can't access buffer directly in the block */
|
||||
(void)got_text;
|
||||
#ifdef OSX
|
||||
static const char* const text = buf; /* < Can't access buffer directly in the block */
|
||||
if (got_text)
|
||||
[[g_view window] setTitle:[NSString stringWithCString:text encoding:NSUTF8StringEncoding]];
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user