CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/SDL/README.TXT
Views: 1401
1
Build instructions
2
==================
3
See https://github.com/hrydgard/ppsspp/wiki/Build-instructions .
4
5
Also, for general information, see https://www.ppsspp.org/docs .
6
7
SDL2 Game Controller Support Notes
8
==================================
9
10
For SDL2 game controller support, at least SDL 2.0.4 is required.
11
12
Under the assets directory is the SDL2 game controller database: gamecontrollerdb.txt. This file contains many known control pad mappings for Windows, Linux and MAC OS. PPSSPPSDL will load this file at start-up and work out how to assign control pad buttons for your control pad.
13
14
Hot plugging of control pads is also supported.
15
16
If you control pad has a "Guide" or "Home" button then when pressed, this will trigger the emulator pause menu, thus allowing you to exit the emulator if you wish or load another game from your library.
17
18
WSL notes
19
=========
20
Works fine on WSL2 with OpenGL, at least. For more notes, see https://www.ppsspp.org/docs/development/wsl/ .
21
22
Running with valgrind
23
=====================
24
25
Here's an example where we both use suppressions, and generate new ones (that you can then take from suppressions.log and simplify and copy to valgrind-wsl2.supp):
26
27
> valgrind --suppressions=SDL/valgrind-wsl2.supp --gen-suppressions=all --log-file=suppressions.log build/PPSSPPSDL
28
29
Running with ASAN
30
=================
31
32
./b.sh --sanitize
33
34
build/PPSSPPSDL.app/Contents/MacOS/PPSSPPSDL
35
36
Running with UBSAN
37
==================
38
39
./b.sh --sanitize --sanitizeub
40
41
UBSAN_OPTIONS=print_stacktrack=true build/PPSSPPSDL.app/Contents/MacOS/PPSSPPSDL
42
43