mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-10-01 10:26:07 -04:00
Feature/random fixes platform support (#179)
* feat: implement memory card IOP * feat: IOP trace * feat: move IOP logic to ps2xIOP refactor: small refactor on audio api on runtime * feat: android support feat: prevent race on GS feat: a bit cleanup and reimplement on memory card * feat: finish guest thread feat: android build support feat: vita build support with suspicious setup scripts * feat: remove idea from track
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
}
|
||||
|
||||
// Override with: gradlew assembleRelease -Pps2xBootElf=/absolute/path/on/device.elf
|
||||
def ps2xBootElf = project.findProperty('ps2xBootElf') ?: '/storage/emulated/0/Android/data/com.ps2x.runner/files/game.elf'
|
||||
|
||||
android {
|
||||
namespace 'com.ps2x.runner'
|
||||
compileSdk 34
|
||||
ndkVersion '28.2.13676358'
|
||||
|
||||
defaultConfig {
|
||||
applicationId 'com.ps2x.runner'
|
||||
minSdk 28
|
||||
targetSdk 34
|
||||
versionCode 1
|
||||
versionName '0.1.0'
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments '-DPS2X_BUILD_RECOMP=OFF',
|
||||
'-DPS2X_BUILD_ANALYZER=OFF',
|
||||
'-DPS2X_BUILD_TEST=OFF',
|
||||
'-DPS2X_BUILD_STUDIO=OFF',
|
||||
'-DPS2X_ENABLE_SCCACHE=OFF',
|
||||
'-DPS2X_RUNNER_UNITY_BUILD_BATCH_SIZE=32',
|
||||
'-DANDROID_CPP_FEATURES=rtti exceptions',
|
||||
"-DPS2X_DEFAULT_BOOT_ELF=${ps2xBootElf}"
|
||||
targets 'ps2EntryRunner'
|
||||
}
|
||||
}
|
||||
|
||||
ndk {
|
||||
abiFilters 'arm64-v8a', 'x86_64'
|
||||
}
|
||||
}
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path '../../CMakeLists.txt'
|
||||
version '3.22.1'
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments '-DCMAKE_BUILD_TYPE=RelWithDebInfo'
|
||||
}
|
||||
}
|
||||
}
|
||||
release {
|
||||
minifyEnabled false
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<application
|
||||
android:label="PS2 Recomp"
|
||||
android:hasCode="false"
|
||||
android:isGame="true">
|
||||
|
||||
<activity
|
||||
android:name="android.app.NativeActivity"
|
||||
android:configChanges="orientation|screenSize|screenLayout|keyboard|keyboardHidden|navigation"
|
||||
android:screenOrientation="landscape"
|
||||
android:exported="true">
|
||||
|
||||
<!-- Runner shared library built by ps2xRuntime/CMakeLists.txt -->
|
||||
<meta-data
|
||||
android:name="android.app.lib_name"
|
||||
android:value="ps2EntryRunner" />
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
Reference in New Issue
Block a user