mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Apple) Buildfix
This commit is contained in:
parent
64a866af84
commit
726c64369f
@ -87,10 +87,10 @@ 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;
|
||||
void *content_buf = NULL;
|
||||
FILE *file = fopen(path, "rb");
|
||||
long ret = 0;
|
||||
ssize_t content_buf_size = 0;
|
||||
void *content_buf = NULL;
|
||||
FILE *file = fopen(path, "rb");
|
||||
|
||||
if (!file)
|
||||
goto error;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user