building for android impl

currently builds a "Metaforce" apk, will need to change name of course. Running the apk using Android Studio's emulator can get in game, however running on a samsung phone does not seem to work.
This commit is contained in:
CraftyBoss
2026-04-10 03:53:57 -07:00
parent 7ed05711a7
commit 417360b1ce
41 changed files with 6417 additions and 4 deletions
+8
View File
@@ -55,7 +55,11 @@ void JASDriver::initAI(void (*param_0)(void)) {
for (int i = 0; i < 3; i++) {
sDmaDacBuffer[i] = JKR_NEW_ARRAY_ARGS(s16, dacSize, JASDram, 0x20);
JUT_ASSERT(102, sDmaDacBuffer[i])
#if ANDROID
JASCalc::_bzero(sDmaDacBuffer[i], size);
#else
JASCalc::bzero(sDmaDacBuffer[i], size);
#endif
DCStoreRange(sDmaDacBuffer[i], size);
}
sDspDacBuffer = JKR_NEW_ARRAY_ARGS(s16*, data_804507A8, JASDram, 0);
@@ -63,7 +67,11 @@ void JASDriver::initAI(void (*param_0)(void)) {
for (int i = 0; i < data_804507A8; i++) {
sDspDacBuffer[i] = JKR_NEW_ARRAY_ARGS(s16, getDacSize(), JASDram, 0x20);
JUT_ASSERT(119, sDspDacBuffer[i]);
#if ANDROID
JASCalc::_bzero(sDspDacBuffer[i], size);
#else
JASCalc::bzero(sDspDacBuffer[i], size);
#endif
DCStoreRange(sDspDacBuffer[i], size);
}
sDspDacWriteBuffer = data_804507A8 - 1;