mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-03 03:05:18 +02:00
Extends LoadAndStartVshKernelModules() to load the 11 real kd/*.prx kernel drivers for --vsh (dmacman, systimer, memlmd_01g, loadexec_01g, lowio, idstorage, syscon, rtc, wlan, wlanfirm_01g, utility), ahead of the existing 4 VSH-specific modules. Only active when g_runningVSH, no effect on normal game boot. Improve implementations of sceKernelSm1ReferOperations and sceKernelIsIntrContext. Add some more MMIO stubs (GPIO, SYSCON). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZq8ZtJmFY7bkX5FVkr3P9 (cherry picked from commit 7f3168b7df85e47438900016c9ee7d7ef01a0a28)
================================================================ NOTE: These are legacy instructions for building using ndk-build. We mostly only use this on CI because it's faster than gradle. There might also be some holdouts around still using eclipse. ================================================================ First, build the C++ static library: > cd android > ./ab.sh Or > ./ab.cmd as appropriate. Start Eclipse, import the android directory as an existing project You need to also load the "native" project into your eclipse workspace Build and run. If you modify the C++ code, you need to rebuild the static library, of course. To get Eclipse to understand that you have in fact changed something if you haven't also changed any Java code, just add a space character to PPSSPPActivity.java, or right click the project and choose Refresh, and then relaunch the app on the device. A real Android device is strongly recommended for testing. Don't trust the emulator.