03-22-2013, 12:59 PM
(03-22-2013, 07:10 AM)[Unknown] Wrote: Yes, you'll need to fork native also and send its pull request first. native is separate because Henrik uses it for other things than PPSSPP too.Thanks, this explains. I will clean my code and send pull request also for native.
(03-22-2013, 07:10 AM)[Unknown] Wrote: For clicks, it should be handled in the SDL event loop. Ultimately, it calls NativeTouch().I got it working. I tried too hard way and accidentally created two windows, where uppermost was visible and lowermost took clicks.
-> Main menu working.
I also found way to start files from commandline, but e.g. cube-test is not starting:
./PPSSPPSDL cube.elf
I: /home/aapo/ppsspp/aapo_ppsspp_git/native/file/zip_read.cpp:215: I: Registered VFS for prefix : assets/
I: /home/aapo/ppsspp/aapo_ppsspp_git/native/file/zip_read.cpp:215: I: Registered VFS for prefix : /home/user/
I: /home/aapo/ppsspp/aapo_ppsspp_git/android/jni/NativeApp.cpp:195: I: Logman: 0x362e98
I: /home/aapo/ppsspp/aapo_ppsspp_git/native/file/zip_read.cpp:232: I: Prefix match: (ppge_atlas.zim) -> ppge_atlas.zim
Bus error
Strace gave me hint that it fails because of writing file /tmp/gc_mem.tmp which is in very limited filesystem on Maemo:
-std:
tring ram_temp_file = "/tmp/gc_mem.tmp";+std:
tring ram_temp_file = "/home/user/.ppsspp/tmp_gc_mem.tmp";-> cube-test works!
Is there more demos/tests to measure speed?

