mirror of
https://github.com/libretro/RetroArch
synced 2025-03-24 13:43:32 +00:00
(Android) Don't compile in linux_inputraw for Android - use
pretro_get_system_info instead of retro_get_system_info
This commit is contained in:
parent
b710babeb2
commit
e58d9f31dd
@ -50,7 +50,11 @@ void rarch_console_load_game_wrap(const char *path, unsigned extract_zip_mode, u
|
|||||||
bool extract_zip_and_load_game_cond = false;
|
bool extract_zip_and_load_game_cond = false;
|
||||||
bool load_game = !extract_zip_cond;
|
bool load_game = !extract_zip_cond;
|
||||||
|
|
||||||
|
#ifdef ANDROID
|
||||||
|
pretro_get_system_info(&info);
|
||||||
|
#else
|
||||||
retro_get_system_info(&info);
|
retro_get_system_info(&info);
|
||||||
|
#endif
|
||||||
block_zip_extract = info.block_extract;
|
block_zip_extract = info.block_extract;
|
||||||
|
|
||||||
snprintf(rom_path_temp, sizeof(rom_path_temp), path);
|
snprintf(rom_path_temp, sizeof(rom_path_temp), path);
|
||||||
|
2
driver.c
2
driver.c
@ -125,7 +125,7 @@ static const input_driver_t *input_drivers[] = {
|
|||||||
#ifdef GEKKO
|
#ifdef GEKKO
|
||||||
&input_gx,
|
&input_gx,
|
||||||
#endif
|
#endif
|
||||||
#ifdef __linux__
|
#if defined(__linux__) && !defined(ANDROID)
|
||||||
&input_linuxraw,
|
&input_linuxraw,
|
||||||
#endif
|
#endif
|
||||||
&input_null,
|
&input_null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user