Ryujinx-SDL/src
Jay Petacat f443a6fc7a Fix format string warnings for width-based integers
The DJGPP compiler emits many warnings for conflicts between print
format specifiers and argument types. To fix the warnings, I added
`SDL_PRIx32` macros for use with `Sint32` and `Uint32` types. The macros
alias those found in <inttypes.h> or fallback to a reasonable default.

As an alternative, print arguments could be cast to plain old integers.
I opted slightly for the current solution as it felt more technically correct,
despite making the format strings more verbose.
2021-02-11 19:41:41 -08:00
..
atomic Use specific acquire and release variants of InterlockedExchange on ARM 2021-01-03 12:13:40 -06:00
audio Fix format string warnings for width-based integers 2021-02-11 19:41:41 -08:00
core Added WIN_IsWindows8OrGreater() for internal use 2021-02-10 10:22:17 -05:00
cpuinfo Updated copyright for 2021 2021-01-02 10:25:38 -08:00
dynapi Expose separate keyboard and mouse grab support 2021-02-10 10:22:17 -05:00
events Add default handler for Alt+Tab while keyboard grab is enabled 2021-02-10 10:22:18 -05:00
file Updated copyright for 2021 2021-01-02 10:25:38 -08:00
filesystem use WIN_StringToUTF8W instead of WIN_StringToUTF8 where needed (#2) 2021-01-05 15:50:02 +03:00
haptic Updated copyright for 2021 2021-01-02 10:25:38 -08:00
hidapi Added support for the PowerA Xbox One Series X Wired Controller 2021-02-11 17:27:22 -08:00
joystick Added support for trigger rumble for all Microsoft Xbox One controllers 2021-02-11 17:28:07 -08:00
libm Updated copyright for 2021 2021-01-02 10:25:38 -08:00
loadso Updated copyright for 2021 2021-01-02 10:25:38 -08:00
locale consistently use TEXT() macro with LoadLibrary() and GetModuleHandle() 2021-01-04 01:23:50 +03:00
main SDL_windows_main.c: use new WIN_StringToUTF8W macro 2021-01-04 10:20:10 +03:00
misc use WIN_StringToUTF8W instead of WIN_StringToUTF8 where needed (#2) 2021-01-05 15:50:02 +03:00
power Updated copyright for 2021 2021-01-02 10:25:38 -08:00
render Fixed bug 5471 - Creating a fullscreen desktop window goes windowed temporarily 2021-02-10 10:22:19 -05:00
sensor use WIN_StringToUTF8W instead of WIN_StringToUTF8 where needed (#2) 2021-01-05 15:50:02 +03:00
stdlib Updated copyright for 2021 2021-01-02 10:25:38 -08:00
test Fix format string warnings for width-based integers 2021-02-11 19:41:41 -08:00
thread Fix waiting on condition variables with the SRW lock implmentation 2021-02-10 10:22:20 -05:00
timer Removed support for clock_gettime_nsec_np() 2021-02-10 10:22:19 -05:00
video Fix format string warnings for width-based integers 2021-02-11 19:41:41 -08:00
SDL_assert_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_assert.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dataqueue.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dataqueue.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_error_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_error.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_hints_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_hints.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_internal.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_log.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00