mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
No longer set display parameters on surface create - surface is resized after create to match screen dimensions. Fixes offset issue when started in immersive mode. Also update measurements on multi-window change, and use getMetrics when in multi-window mode as getRealMetrics returns full screen size, not window size.
First, build the C++ static library: > cd android > ./ab.sh 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.