(Apple) Build fix

This commit is contained in:
twinaphex 2014-03-10 06:00:06 +01:00
parent 767f2a4466
commit 7cdc23505c
2 changed files with 2 additions and 3 deletions

View File

@ -70,7 +70,7 @@ int apple_rarch_load_content(int argc, char* argv[])
if (rarch_main_init(argc, argv))
return 1;
menu_init();
menu_init(driver.video_data);
if (!g_extern.libretro_dummy)
menu_rom_history_push_current();

View File

@ -31,13 +31,12 @@
static void gfx_ctx_check_window(void *data, bool *quit,
bool *resize, unsigned *width, unsigned *height, unsigned frame_count)
{
(void)data;
(void)frame_count;
*quit = false;
unsigned new_width, new_height;
apple_gfx_ctx_get_video_size(&new_width, &new_height);
apple_gfx_ctx_get_video_size(data, &new_width, &new_height);
if (new_width != *width || new_height != *height)
{
*width = new_width;