mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-08-31 09:45:24 +02:00
New events, all read-only (never mutate kernel state, no cleanup/sort calls - see HLEKernelObjectSubscriber.cpp's header comment): - hle.object.list: every live kernel object of every type at once (uid, type, name, one-line quickInfo), with an optional 'type' filter. Uses KernelObjectPool::IterateAll(), a new type-agnostic sibling of the existing Iterate<T>(). - hle.eventflag.list/info, hle.mutex.list/info, hle.semaphore.list/info, hle.msgpipe.list/info, hle.callback.list/info: per-type full detail (all Native* status struct fields plus waiting-thread lists), reading straight off the classes exposed in the previous commit. Also adds JsonWriter::DictScope/ArrayScope (Common/Data/Format/JSONWriter.h) - RAII push/pop for pushDict()/pushArray(), used throughout the new handlers. A forgotten or early-returned pop() previously just produced silently malformed JSON; with 11 new handlers each writing a handful of nested arrays/dicts, that seemed worth fixing at the API level rather than trusting every call site to pair things up by hand. Existing handlers are untouched - this is purely additive. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZq8ZtJmFY7bkX5FVkr3P9
================================================================ 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.