mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(Android) Build fixes
This commit is contained in:
parent
d7ca4d584c
commit
24500dfeb5
@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
#define main_entry android_app_entry
|
#define main_entry android_app_entry
|
||||||
#define returntype void
|
#define returntype void
|
||||||
#define signature_expand() data
|
|
||||||
#define returnfunc() exit(0)
|
#define returnfunc() exit(0)
|
||||||
#define return_negative() return
|
#define return_negative() return
|
||||||
#define return_var(var) return
|
#define return_var(var) return
|
||||||
@ -54,7 +53,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define returntype int
|
#define returntype int
|
||||||
#define signature_expand() argc, argv
|
|
||||||
#define returnfunc() return 0
|
#define returnfunc() return 0
|
||||||
#define return_negative() return 1
|
#define return_negative() return 1
|
||||||
#define return_var(var) return var
|
#define return_var(var) return var
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ANDROID)
|
#if defined(ANDROID)
|
||||||
|
#include "platform/platform_android.h"
|
||||||
#define args_type() struct android_app*
|
#define args_type() struct android_app*
|
||||||
#define signature() void* data
|
#define signature() void* data
|
||||||
#define signature_expand() data
|
#define signature_expand() data
|
||||||
|
@ -341,8 +341,6 @@ static unsigned input_frame(uint64_t trigger_state)
|
|||||||
|
|
||||||
bool menu_iterate(void)
|
bool menu_iterate(void)
|
||||||
{
|
{
|
||||||
const char *path = NULL;
|
|
||||||
const char *label = NULL;
|
|
||||||
unsigned action = MENU_ACTION_NOOP;
|
unsigned action = MENU_ACTION_NOOP;
|
||||||
static bool initial_held = true;
|
static bool initial_held = true;
|
||||||
static bool first_held = false;
|
static bool first_held = false;
|
||||||
|
@ -843,7 +843,7 @@ const struct rarch_key_map rarch_key_map_linux[] = {
|
|||||||
//{ ?, RETROK_EXCLAIM },
|
//{ ?, RETROK_EXCLAIM },
|
||||||
//{ ?, RETROK_QUOTEDBL },
|
//{ ?, RETROK_QUOTEDBL },
|
||||||
//{ ?, RETROK_HASH },
|
//{ ?, RETROK_HASH },
|
||||||
#ifdef ANDROID
|
#ifndef ANDROID
|
||||||
{ KEY_DOLLAR, RETROK_DOLLAR },
|
{ KEY_DOLLAR, RETROK_DOLLAR },
|
||||||
#endif
|
#endif
|
||||||
//{ ?, RETROK_AMPERSAND },
|
//{ ?, RETROK_AMPERSAND },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user