mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-02 18:46:52 +00:00
d4984ab991
SDL/SDLMain.cpp:160:2: error: unknown type name 'SDL_SysWMinfo'; did you mean 'SDL_SysWMmsg'? SDL_SysWMinfo sysInfo; //Will hold our Window information ^~~~~~~~~~~~~ SDL_SysWMmsg SDL/SDLMain.cpp:433:2: error: unknown type name 'SDL_SysWMinfo'; did you mean 'SDL_SysWMmsg'? SDL_SysWMinfo sys_info{}; ^~~~~~~~~~~~~ SDL_SysWMmsg SDL/SDLMain.cpp:440:2: warning: expression result unused [-Wunused-value] Window x11_window = sys_info.info.x11.window; ^~~~~~ |
||
---|---|---|
.. | ||
.gitignore | ||
buildassets.sh | ||
README.TXT | ||
SDLJoystick.cpp | ||
SDLJoystick.h | ||
SDLMain.cpp | ||
SDLMain.h | ||
SDLMain.mm |
1. Install GCC, CMake, and development libraries for zlib and sdl. 2. cd SDL 3. ./buildassets.sh 4. ./b.sh 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.