mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Lets a client query all log categories (Common/Log.h's Log enum) with their current level/enabled state, and change a channel's level and/or enabled state at runtime - same data LogConfigScreen already exposes in the UI, now reachable from the debugger protocol. Levels are named strings (notice, error, warning, info, debug, verbose) rather than the 1-6 numbers the existing passive 'log' event uses (LogBroadcaster.cpp, left unchanged) - clearer for a config-style API where you're not scanning a stream. Registered as a new subscriber alongside the others in WebSocket.cpp, and wired into all the build systems that need a new source file (CMake, the Windows and UWP vcxprojs, Android.mk - libretro's Makefile.common doesn't build any WebSocket debugger files so needs no entry). 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.