ppsspp/SDL
catsout b0ceeede79 Vulkan: fix wayland swapchain size 1x1
From Vulkan spec,
surfaceCapabilities.currentExtent can be 0xFFFFFFFF(-1)

Define a callback to get drawsize from window creator

relate:
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSurfaceCapabilitiesKHR.html
https://github.com/KhronosGroup/Vulkan-Docs/issues/590#issuecomment-347932321
2022-10-15 19:02:42 +08:00
..
macOS@f19a1d54b8 Update SDL and try faster commit history fetch 2021-09-17 00:33:11 +03:00
.gitignore Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00
macbundle.sh Add FAT support for macOS with automatic GitHub releases 2021-09-13 02:01:22 +03:00
NKCodeFromSDL.h Move native/util, native/data and native/i18 to Common/Data. 2020-10-04 07:28:29 +02:00
README.TXT Build: Remove old-style android/assets/. 2021-12-11 09:01:15 -08: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 SDL: Respect inflight frames setting in GL. 2021-11-27 06:57:26 -08:00
SDLGLGraphicsContext.h Move most GPU things to Common. 2020-10-04 23:39:02 +02:00
SDLJoystick.cpp Core: Track names of connected pad devices. 2022-07-04 19:14:04 -07:00
SDLJoystick.h Global: Reduce includes of common headers. 2022-01-30 16:35:33 -08:00
SDLMain.cpp Touchpad/mousewheel scrolling acted very weirdly on Mac due to 0 deltas. Make it work better. 2022-10-11 14:00:46 +02:00
SDLMain.h Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00
SDLMain.mm Net: Ignore SIGPIPE errors on POSIX systems. 2022-04-03 06:57:45 -07:00
SDLVulkanGraphicsContext.cpp Vulkan: fix wayland swapchain size 1x1 2022-10-15 19:02:42 +08:00
SDLVulkanGraphicsContext.h Move most GPU things to Common. 2020-10-04 23:39:02 +02:00

1. Install GCC, CMake, and development libraries for zlib and sdl.
2. mkdir build
3. cd build
4. cmake ..
5. make

That should do it.

Special instructions for MacOSX:

Install XCode
Install CMake
Open XCode, Preferences, Downloads, Components. Install the command line toools.

Install MacPorts
Using MacPorts, install libpng
Do the above.

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.