(Apple) Buildfix

This commit is contained in:
Twinaphex 2015-03-21 22:28:12 +01:00
parent 64a866af84
commit 726c64369f
2 changed files with 8 additions and 7 deletions

View File

@ -88,7 +88,7 @@ bool write_file(const char *path, const void *data, ssize_t size)
static int read_generic_file(const char *path, void **buf, ssize_t *len)
{
long ret = 0;
size_t content_buf_size = 0;
ssize_t content_buf_size = 0;
void *content_buf = NULL;
FILE *file = fopen(path, "rb");

View File

@ -100,11 +100,12 @@ extern void apple_rarch_exited(void);
static void frontend_apple_load_content(void)
{
if (!driver.menu_ctx)
driver_t *driver = driver_get_ptr();
if (!driver->menu_ctx)
return;
if (!driver.menu)
if (!driver->menu)
return;
if (!driver.menu->userdata)
if (!driver->menu->userdata)
return;
#ifdef IOS