ppsspp/SDL
2024-11-06 12:04:24 +01: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 Split Core_EnableStepping into Core_Break and Core_Resume 2024-11-03 17:53:42 +01: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 Fix for possible overflow in the resampler (can prevent some audio clicks) 2024-09-04 12:56:15 +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 Implement the fallback path from OpenGL to Vulkan 2024-09-16 12:34:37 +02:00
SDLGLGraphicsContext.h Implement the fallback path from OpenGL to Vulkan 2024-09-16 12:34:37 +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 SDL mouse input fixes 2024-11-06 12:04:24 +01: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

Running with ASAN
=================

./b.sh --sanitize

build/PPSSPPSDL.app/Contents/MacOS/PPSSPPSDL

Running with UBSAN
==================

./b.sh --sanitize --sanitizeub

UBSAN_OPTIONS=print_stacktrack=true build/PPSSPPSDL.app/Contents/MacOS/PPSSPPSDL