Commit Graph

50122 Commits

Author SHA1 Message Date
twinaphex 051fb92e83 (Dinput joypad) Cleanup magic numbers mess surrounding
hat code
2019-07-23 18:27:16 +02:00
twinaphex 0893d6b7b1 More header include fixes 2019-07-23 16:15:11 +02:00
twinaphex 783027ab96 (Dinput) Lots of pointless ARRAY_SIZE checks when the element size
never changes
2019-07-23 16:07:34 +02:00
twinaphex 642298c8b0 (ps4_joypad.c) C89_BUILD fixes 2019-07-23 15:47:13 +02:00
twinaphex ea4f9b4899 dinput_joypad_button - cleanups 2019-07-23 15:34:24 +02:00
twinaphex e0672e46a5 (Xinput) This variable doesn't need to be set at every button call 2019-07-23 14:32:46 +02:00
twinaphex 02876aecae Cleanups 2019-07-23 14:07:49 +02:00
twinaphex d4255b0e55 Cleanups 2019-07-23 13:59:51 +02:00
Twinaphex 1db736b13f
Merge pull request #9174 from rsn8887/master
[SWITCH] Fix splitting and joining of joycon controllers
2019-07-23 12:18:52 +02:00
rsn8887 c226f0a683 [SWITCH] Fix splitting and joining of joycon controllers
Before this fix, splitting and joining of joycons only ever worked
sporadically.
2019-07-22 23:30:34 -05:00
twinaphex f80c3f4218 (WiiU) Try to define SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS 2019-07-23 05:37:45 +02:00
twinaphex fc22973587 Fix another header include 2019-07-23 05:34:14 +02:00
Twinaphex 0eb94abfba
Merge pull request #9173 from orbea/sixel
Fix CXX_BUILD=1 with libsixel.
2019-07-23 05:32:37 +02:00
orbea 779fbabc79 Fix CXX_BUILD=1 with libsixel. 2019-07-22 14:24:40 -07:00
twinaphex ba79947e51 This should prevent flushing of stack issues 2019-07-22 22:40:34 +02:00
twinaphex e30a0631d9 Change to C comment 2019-07-22 22:07:22 +02:00
Twinaphex 286217394f
Merge pull request #9171 from orbea/clang
Silence -Wstring-plus-int with clang.
2019-07-22 22:02:18 +02:00
orbea 043977474e Silence -Wstring-plus-int with clang.
cores/libretro-imageviewer/image_core.c:75:59: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
static const char* IMAGE_CORE_PREFIX(valid_extensions) = 1+ /* to remove the first |, the alternative is 25 extra lines of ifdef/etc */
                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cores/libretro-imageviewer/image_core.c:75:59: note: use array indexing to silence this warning
1 warning generated.
2019-07-22 12:41:14 -07:00
twinaphex fb91df562c Cleanups 2019-07-22 21:25:43 +02:00
twinaphex 45d94efdf4 Cleanups 2019-07-22 21:22:52 +02:00
Twinaphex 532a5bb571
Update CHANGES.md 2019-07-22 21:12:55 +02:00
Twinaphex cce78518ca
Merge pull request #9170 from rfomin/master
D3D10/D3D11: Fix maintaining aspect ratio when resizing window
2019-07-22 21:12:29 +02:00
twinaphex 12823821ff CMD_EVENT_AUDIO_SET_NONBLOCKING_STATE - no longer necessary 2019-07-22 21:10:42 +02:00
Brad Parker 99dbc4d13e griffin: increase warning level for vc2010, fix signed/unsigned mismatch 2019-07-22 14:51:00 -04:00
Roman Fomin e01095a51b Fix maintaining aspect ratio 2019-07-23 01:33:43 +07:00
twinaphex 5eb5930838 Cleanups 2019-07-22 20:31:53 +02:00
twinaphex f3eb48d1f5 Fix MSVC warnings 2019-07-22 20:16:27 +02:00
Twinaphex 847a92c2a7
Merge pull request #9169 from orbea/clang
Silence -Wmissing-field-initializers warnings with clang.
2019-07-22 20:08:29 +02:00
Twinaphex 3f61fa3490
Merge pull request #9168 from LazyBumHorse/silence
Silence gcc compiler warnings
2019-07-22 20:08:04 +02:00
orbea 2a3695917b Silence -Wmissing-field-initializers warnings with clang.
Silences many similar warnings with -Wextra and clang.

In file included from menu/cbs/menu_cbs_ok.c:39:
menu/cbs/../../config.def.keybinds.h:109:139: warning: missing field 'def_joyaxis' initializer [-Wmissing-field-initializers]
   { true, RETRO_DEVICE_ID_JOYPAD_B,      MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_B,              RETROK_z,       NO_BTN, NO_BTN, 0, AXIS_NONE },
                                                                                                                                          ^
2019-07-22 11:03:24 -07:00
twinaphex 2e76deb3a0 Cleanups 2019-07-22 19:58:48 +02:00
twinaphex 36a48cd7f9 Turn rarch_environment_cb into static function 2019-07-22 19:44:42 +02:00
LazyBumHorse 2de6e9b43a silence compiler warnings 2019-07-22 19:27:31 +02:00
twinaphex 12cc7b3213 Turn function static 2019-07-22 19:10:27 +02:00
twinaphex cedf3dfe8e Cleanups 2019-07-22 19:06:31 +02:00
twinaphex 17c399eca0 Cleanups 2019-07-22 18:30:43 +02:00
twinaphex d27cdf90e2 The intent of command_event became muddied over time - it
should only be used for user-facing operations, not anything internal
to RetroArch that we don't want exposed to the outside through
bindable commands
2019-07-22 18:10:16 +02:00
Twinaphex 703437d984
Merge pull request #9167 from orbea/brace
Silence clang warning.
2019-07-22 16:55:39 +02:00
twinaphex ee4bee2e7f Don't go through config_get_ptr 2019-07-22 16:54:45 +02:00
orbea 371087971d Silence clang warning.
menu/menu_displaylist.c:4974:44: warning: suggest braces around initialization of subobject [-Wmissing-braces]
         media_detect_cd_info_t cd_info = {0};
                                           ^
                                           {}
1 warning generated.
2019-07-22 07:48:19 -07:00
twinaphex 8438c9650a Last file to merge into retroarch.c - from here, we
can start refactoring things to split things off into tasks
that are not crucial to the main runloop
2019-07-22 16:46:33 +02:00
Twinaphex 25f4aa9c30
Merge pull request #9165 from jdgleaver/playlist-mem-leak
Fix memory leak when JSON playlist fails to load
2019-07-22 16:14:25 +02:00
jdgleaver 1a2eeea2bd Fix memory leak when JSON playlist fails to load 2019-07-22 14:44:35 +01:00
twinaphex 7d3fa9a84d Fix some includes 2019-07-22 15:42:35 +02:00
twinaphex 8343e121be Add rule to travis.yml 2019-07-22 15:33:38 +02:00
Twinaphex 0ece9063e8
Add Travis check to build without HAVE_CDROM 2019-07-22 14:52:07 +02:00
twinaphex 0f18df5d66 (PS2) Buildfix 2019-07-22 14:45:55 +02:00
twinaphex 246fcf36d8 (WiiU) Add HAVE_SPIRV_CROSS/HAVE_GLSLANG/HAVE_SLANG 2019-07-22 14:44:59 +02:00
twinaphex 28c2082093 (libnx) Add INCLUDE_DIRS 2019-07-22 14:40:30 +02:00
Twinaphex 25a7f9f535
Merge pull request #9162 from orbea/defines
Makefile.common: Clean up
2019-07-22 11:48:06 +02:00