ppsspp/SDL
2024-07-26 11:25:58 +02:00
..
macOS@c387d93ab5 Upgrade SDL for Mac 2023-04-25 11:45:20 +02:00
.gitignore Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00
CocoaBarItems.h fix open in folder on macOS, avoid spawning the open command to open URLs (#17342) 2023-04-27 13:32:41 +00:00
CocoaBarItems.mm Fix wrong function signature in iOS file picker, also a lifetime issue 2024-06-01 12:31:12 +02:00
macbundle.sh More build work 2024-05-20 10:04:11 +02:00
NKCodeFromSDL.h Input event and device enums (#17514) 2023-05-26 18:40:13 +02:00
PPSSPPAboutViewController.h Native 'About' panel 2023-04-23 22:12:15 +03:00
PPSSPPAboutViewController.m Native 'About' panel 2023-04-23 22:12:15 +03:00
PPSSPPSDL.desktop Update PPSSPPSDL.desktop 2024-06-21 17:14:48 -04:00
README.TXT Minor cleanup 2024-07-23 21:59:23 +02:00
SDLCocoaMetalLayer.h Initial support for vulkan on macOS ( MoltenVK ) 2020-01-20 14:42:40 +08:00
SDLCocoaMetalLayer.mm Build: Explicitly include ppsspp_config.h. 2021-03-02 21:04:03 -08:00
SDLGLGraphicsContext.cpp Logging API change (refactor) (#19324) 2024-07-14 14:42:59 +02:00
SDLGLGraphicsContext.h SDL buildfix 2023-08-14 11:02:29 +02:00
SDLJoystick.cpp Add ifdefs to try to be compatible with old SDL versions 2024-07-17 22:04:32 +02:00
SDLJoystick.h SDL: Add axis event deduplication 2023-11-16 09:20:40 +01:00
SDLMain.cpp TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00
SDLMain.h Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00
SDLMain.mm Implement the RESTART_APP system request for Mac 2023-04-29 11:38:47 +02:00
SDLVulkanGraphicsContext.cpp Refactor: Merge the ChooseDevice function into CreateDevice 2024-07-17 10:31:49 +02:00
SDLVulkanGraphicsContext.h Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically. 2023-08-14 11:02:29 +02:00
valgrind-wsl2.supp Fix crash showing the Achievements screen. 2024-07-22 10:19:07 +02:00

Build instructions
==================
See https://github.com/hrydgard/ppsspp/wiki/Build-instructions .

Also, for general information, see https://www.ppsspp.org/docs .

SDL2 Game Controller Support Notes
==================================

For SDL2 game controller support, at least SDL 2.0.4 is required.

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.

Hot plugging of control pads is also supported.

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.

WSL notes
=========
Works fine on WSL2 with OpenGL, at least. For more notes, see https://www.ppsspp.org/docs/development/wsl/ .

Running with valgrind
=====================

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):

> valgrind --suppressions=SDL/valgrind-wsl2.supp --gen-suppressions=all --log-file=suppressions.log build/PPSSPPSDL