(Android) Add back PHOENIX_LEGACY hack because new Phoenix frontend
doesn't work yet for me
@ -49,7 +49,7 @@ ifeq ($(PERF_TEST), 1)
|
|||||||
LOCAL_CFLAGS += -DPERF_TEST
|
LOCAL_CFLAGS += -DPERF_TEST
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_CFLAGS += -O3 -fno-stack-protector -funroll-loops -DNDEBUG -DHAVE_GRIFFIN -DANDROID -DHAVE_DYNAMIC -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_VID_CONTEXT -DHAVE_OPENGLES2 -DGLSL_DEBUG -DHAVE_GLSL -DHAVE_ZLIB -DWANT_RZLIB -DINLINE=inline -DLSB_FIRST -DHAVE_THREAD -D__LIBRETRO__ -DHAVE_CONFIGFILE=1 -DRARCH_PERFORMANCE_MODE -DRARCH_GPU_PERFORMANCE_MODE -DPACKAGE_VERSION=\"$(RARCH_VERSION)\" -std=gnu99
|
LOCAL_CFLAGS += -O3 -fno-stack-protector -funroll-loops -DNDEBUG -DHAVE_GRIFFIN -DANDROID -DPHOENIX_LEGACY -DHAVE_DYNAMIC -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_VID_CONTEXT -DHAVE_OPENGLES2 -DGLSL_DEBUG -DHAVE_GLSL -DHAVE_ZLIB -DWANT_RZLIB -DINLINE=inline -DLSB_FIRST -DHAVE_THREAD -D__LIBRETRO__ -DHAVE_CONFIGFILE=1 -DRARCH_PERFORMANCE_MODE -DRARCH_GPU_PERFORMANCE_MODE -DPACKAGE_VERSION=\"$(RARCH_VERSION)\" -std=gnu99
|
||||||
|
|
||||||
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -landroid -lEGL -lGLESv2 -llog -ldl
|
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -landroid -lEGL -lGLESv2 -llog -ldl
|
||||||
LOCAL_C_INCLUDES += $(LIBXML_PATH)
|
LOCAL_C_INCLUDES += $(LIBXML_PATH)
|
||||||
|
@ -339,6 +339,11 @@ static void* android_app_entry(void* param)
|
|||||||
RARCH_LOG("ROM Filename: [%s].\n", rom_path);
|
RARCH_LOG("ROM Filename: [%s].\n", rom_path);
|
||||||
RARCH_LOG("Libretro path: [%s].\n", libretro_path);
|
RARCH_LOG("Libretro path: [%s].\n", libretro_path);
|
||||||
|
|
||||||
|
#ifdef PHOENIX_LEGACY
|
||||||
|
/* ugly hack for now - hardcode libretro path to 'allowed' dir */
|
||||||
|
snprintf(libretro_path, sizeof(libretro_path), "/data/data/com.retroarch/lib/libretro.so");
|
||||||
|
#endif
|
||||||
|
|
||||||
int argc = 0;
|
int argc = 0;
|
||||||
char *argv[MAX_ARGS] = {NULL};
|
char *argv[MAX_ARGS] = {NULL};
|
||||||
|
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
package="com.retroarch"
|
|
||||||
android:versionCode="1"
|
|
||||||
android:versionName="1.0" >
|
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="15" />
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
||||||
|
|
||||||
<application
|
|
||||||
android:icon="@drawable/ic_launcher"
|
|
||||||
android:label="@string/app_name">
|
|
||||||
<activity android:name="phoenix" android:label="@string/app_name" >
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.MAIN" />
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
<activity android:label="@string/app_name" android:name="com.retroarch.fileio.FileChooser" />
|
|
||||||
<activity android:label="@string/app_name" android:name="rombrowser" />
|
|
||||||
<activity android:name="android.app.NativeActivity" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale">
|
|
||||||
<meta-data android:name="android.app.lib_name" android:value="retroarch-activity" />
|
|
||||||
<meta-data android:name="android.app.func_name" android:value="ANativeActivity_onCreate" />
|
|
||||||
</activity>
|
|
||||||
</application>
|
|
||||||
</manifest>
|
|
@ -1,3 +0,0 @@
|
|||||||
# cache for current jar dependecy. DO NOT EDIT.
|
|
||||||
# format is <lastModified> <length> <SHA-1> <path>
|
|
||||||
# Encoding is UTF-8
|
|
Before Width: | Height: | Size: 839 B |
Before Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 815 B |
Before Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 931 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 408 B |
Before Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 816 B |
Before Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 547 B |
Before Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 839 B |
Before Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 815 B |
Before Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 931 B |
Before Width: | Height: | Size: 1.7 KiB |
@ -136,7 +136,7 @@ static void *sl_init(const char *device, unsigned rate, unsigned latency)
|
|||||||
if(api_level > 15)
|
if(api_level > 15)
|
||||||
{
|
{
|
||||||
RARCH_LOG("API level 16 and higher has a fast OpenSL mixer - adjust settings for lower audio latency...\n");
|
RARCH_LOG("API level 16 and higher has a fast OpenSL mixer - adjust settings for lower audio latency...\n");
|
||||||
sl->buf_count = 8;
|
sl->buf_count = 4;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
sl->buf_count = 8;
|
sl->buf_count = 8;
|
||||||
|