Commit Graph

1897 Commits

Author SHA1 Message Date
twinaphex
6b26808e25 Get rid of more unnecessary functions 2019-07-10 10:40:11 +02:00
twinaphex
abcfcca1d2 Merge dynamic.c into retroarch.c 2019-07-10 09:54:25 +02:00
twinaphex
fa990849ba (Overlay) Cleanups 2019-07-10 07:07:28 +02:00
twinaphex
fa2e1fb0c1 overlay_ptr is now a static global variable inside retroarch.c 2019-07-10 06:53:47 +02:00
twinaphex
09f5d2c95d Fix compilation when configuring with --disable-overlay 2019-07-10 05:39:50 +02:00
twinaphex
d3f27c3a81 Turn some global variables static 2019-07-10 05:04:55 +02:00
twinaphex
94af95e1b9 Start refactoring this - overlay_ptr needs to become a static
global variable confined inside retroarch.c
2019-07-10 04:43:50 +02:00
twinaphex
ca6d35585f Cleanups 2019-07-10 02:01:46 +02:00
twinaphex
da54b9c3d9 Buildfix for systems without runahead 2019-07-09 23:45:30 +02:00
twinaphex
9158ad86a0 Cleanups;buildfix 2019-07-09 21:43:22 +02:00
twinaphex
f71503a0d0 Move structs around 2019-07-09 21:17:29 +02:00
twinaphex
5cbcf25e8a (retroarch.c) Rearrange global variables top of file 2019-07-09 21:02:12 +02:00
twinaphex
b5c4b2d618 Fix --disable-menu 2019-07-09 18:16:11 +02:00
twinaphex
8dd0680cbc Merge input_overlay.c into retroarch.c 2019-07-09 18:13:41 +02:00
Brad Parker
307cdad450 fix regression with slashes appearing in some strings 2019-07-09 11:28:27 -04:00
twinaphex
cfbeed0c29 Cleanups 2019-07-09 17:07:28 +02:00
twinaphex
cfd2f8e2af Rename camel case named variables 2019-07-09 16:52:34 +02:00
twinaphex
6ff25fea2b Move macros 2019-07-09 16:36:29 +02:00
twinaphex
e9b1a49c42 Silence warnings 2019-07-09 09:36:46 +02:00
twinaphex
7ee547db0f Remove unused http server 2019-07-09 09:06:40 +02:00
twinaphex
24a859fa16 Move secondary_core to retroarch.c 2019-07-09 08:09:40 +02:00
twinaphex
f0f5c32b51 Remove state tracker - legacy code - we can revisit this later
and integrate it in a way so that it scales across all drivers
2019-07-09 07:39:38 +02:00
twinaphex
5aebbdfddb input_state_internal - small cleanup for RETRO_DEVICE_JOYPAD 2019-07-09 07:02:48 +02:00
twinaphex
6e8797d2ef (core options) Simplifications 2019-07-09 03:53:32 +02:00
twinaphex
9f4e8688f3 Move core option manager into retroarch.c 2019-07-09 03:25:56 +02:00
twinaphex
001e4d9073 Simplify input_state_internal 2019-07-09 01:41:13 +02:00
twinaphex
e4a8d2d0b6 bitmask won't be possible for keyboard or analog, so get rid
of it for those switch cases
2019-07-09 00:48:08 +02:00
twinaphex
85b82a8ecf Reimplement input_state_internal 2019-07-09 00:48:08 +02:00
Brad Parker
15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
twinaphex
c4d443b5c5 Move bsv_movie_is_playback_off code outside of input_state_internal 2019-07-08 21:58:31 +02:00
twinaphex
7e6d8eb19a (input_state_internal) Refactor this code 2019-07-08 21:47:24 +02:00
twinaphex
0f9890c38e Move BSV playback code outside of input_state_internal 2019-07-08 21:28:48 +02:00
twinaphex
91babc2160 Rewrite bsv_movie_get_input 2019-07-08 21:05:55 +02:00
twinaphex
bf3b46be77 (BSV) Cleanups 2019-07-08 20:52:55 +02:00
twinaphex
b567bc7ead Revert "Remove BSV code - was obsolete and no longer working - input recording"
This reverts commit 7f731e390a.
2019-07-08 18:21:46 +02:00
twinaphex
7f731e390a Remove BSV code - was obsolete and no longer working - input recording
can be done in other ways instead of being held back by this old input
recording format - was decided along with Themaister that we want to
arrive at a codebase more easily maintained by all
2019-07-08 18:19:49 +02:00
twinaphex
7e6cb03f6b Revert "Remove RARCH_CTL_IS_DUMMY_CORE"
This reverts commit e032ef6b2e.
2019-07-08 17:57:28 +02:00
twinaphex
e032ef6b2e Remove RARCH_CTL_IS_DUMMY_CORE 2019-07-08 17:53:10 +02:00
twinaphex
0f9abe5b26 (retroarch.c) Cleanups - rename variables using camel case naming,
other general cleanups etc.
2019-07-08 04:06:42 +02:00
twinaphex
a33913c984 (retroarch.c) Cleanup 2019-07-08 02:29:52 +02:00
twinaphex
614674f436 Go through function pointer again 2019-07-08 00:28:15 +02:00
twinaphex
1f17dea0d8 (configuration.c) Cleanups 2019-07-04 17:29:29 +02:00
twinaphex
fe958b46d7 Revert const ptr commit 2019-06-30 11:40:30 +02:00
twinaphex
b64f9bd64b Revert "Start using const more"
This reverts commit c0789538d7.
2019-06-30 11:23:36 +02:00
twinaphex
f4bf218f35 (Menu) We need to tell rarch_menu_running_finished whether we want
to exit RetroArch or not - to avoid certain crashes when trying to
access the settings pointer - which should already be freed at this
point
2019-06-30 11:23:18 +02:00
twinaphex
c0789538d7 Start using const more 2019-06-26 14:31:05 +02:00
twinaphex
7fea26db4b (retroarch.c) Pointer cleanups 2019-06-26 08:24:33 +02:00
twinaphex
3b634b64fa Merge dirs.c into paths.c 2019-06-26 07:23:32 +02:00
twinaphex
ca2fc9b8d8 Cleanups 2019-06-24 20:51:06 +02:00
LazyBumHorse
1f69f3960a fix d3d9 not rendering xmb and temporarily disable widgets due to segfault 2019-06-24 15:42:55 +02:00
twinaphex
0dcbb985be Move device masking to upper function 2019-06-24 02:20:42 +02:00
twinaphex
1e863b0f4d Optimal way of grabbing all button states in a bitmasked value -
should allow us to do only one function call to the RA input
driver's input state callback
2019-06-23 06:09:45 +02:00
twinaphex
b0382d8f73 (Emscripten) Some buildfixes for platforms with no HAVE_NETWORKING support 2019-06-23 01:28:43 +02:00
twinaphex
4f7f5d2523 (Netplay) Netplay needs to call into video_frame_net 2019-06-22 21:05:35 +02:00
twinaphex
a6a6597f2d video_driver_cached_frame - don't go through function pointer for
frame_cb - call video_driver_frame directly
2019-06-22 20:44:20 +02:00
twinaphex
74e4b05f5a Cleanups 2019-06-22 19:57:47 +02:00
twinaphex
4664e56ca3 Simplify core_run 2019-06-22 19:52:06 +02:00
Twinaphex
9180cc5ba2 Cleanup some warnings 2019-06-22 13:44:10 +02:00
Barry Rowe
e9625b3ed9 AI Service feature. 2019-06-21 17:48:35 -07:00
twinaphex
faef9413e3 (retroarch.c) Cleanups - remove static inline function and reduce
it in size
2019-06-21 13:27:12 +02:00
twinaphex
a23928fb89 Split up input_state into input_state_internal - no longer
rely on recursion of function
2019-06-21 12:49:33 +02:00
twinaphex
6de62dc4b0 Buildfix --disable-menu 2019-06-21 12:21:43 +02:00
twinaphex
023d2cb9a9 (Libretro) implement new environment callback RETRO_ENVIRONMENT_GET_INPUT_BITMASKS 2019-06-21 11:21:07 +02:00
twinaphex
2626282757 Revert "Raise menu key repeat delay to account for slow input devices"
This reverts commit d0cde96bd4.
2019-06-21 07:19:44 +02:00
twinaphex
569dfdfbb4 Move this outside of keys_pressed functions 2019-06-21 07:09:07 +02:00
twinaphex
088a688402 Rename current_input to current_bits 2019-06-21 07:05:20 +02:00
twinaphex
98987239bb Cleanups 2019-06-21 07:01:21 +02:00
AlexanderR
d0cde96bd4 Raise menu key repeat delay to account for slow input devices
Fixes duplicated key presses on NEC IR remotes.
2019-06-21 11:35:16 +07:00
twinaphex
644888ee1a Fix manual bind of menu toggle 2019-06-21 06:28:19 +02:00
twinaphex
affa93bd98 Refactor menu_input_keys_pressed 2019-06-21 05:27:21 +02:00
twinaphex
6b9238198b Cleanups 2019-06-21 04:47:51 +02:00
twinaphex
bc7ba4f5d2 Move menu_input.c into retroarch.c - now all of the input code
should be inside one place - giving us the opportunity to cleanup this
mess
2019-06-21 03:40:48 +02:00
twinaphex
ef0cedd798 Create macro for input_menu_keys_pressed 2019-06-20 14:12:24 +02:00
twinaphex
b07e2d0585 Simplify input_keys_pressed 2019-06-20 13:49:05 +02:00
twinaphex
3a8df35d4d (Input) Split for loops up into two - first check button keys,
then check the meta keys
2019-06-20 13:31:00 +02:00
twinaphex
ce3f46adbd Get rid of RARCH_CTL_UNSET_KEY_EVENT and other cleanups 2019-06-20 12:51:29 +02:00
twinaphex
c064d30250 Fix --disable-runahead switch 2019-06-20 10:20:48 +02:00
twinaphex
10c5331cc0 Move runahead dirty_input to retroarch.c - allows us
to make retro_ctx and current_core static
2019-06-20 10:08:32 +02:00
twinaphex
d12e857644 video_driver_get_status is no longer necessary 2019-06-20 09:55:06 +02:00
twinaphex
6bc1802914 Move run_ahead.c to retroarch.c - most of the runloop
should now be self-contained in one file. Allows us to
turn more functions static, remove more extraneous functions
that just consisted of a single line (mostly getters/setters), etc.
2019-06-20 09:30:44 +02:00
twinaphex
d50a6b6bd2 Add video_driver_has_focus 2019-06-20 06:26:29 +02:00
radius
d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex
c46ba7f63b Turn more functions static 2019-06-20 04:58:52 +02:00
twinaphex
720424777b Turn function static 2019-06-20 04:50:55 +02:00
twinaphex
337e2110a1 Get rid of video_driver_cb_has_focus function pointer 2019-06-20 04:43:23 +02:00
twinaphex
129e73c588 turn lots of audio functions static 2019-06-20 04:29:08 +02:00
Twinaphex
47910871a2 OSX hits rarch_menu_running_finished while quitting at a point
in time where configuration_settings is NULL. For now, check first
if the settings pointer is NULL
2019-06-19 10:40:42 +02:00
twinaphex
4d8f5f4dde Merge core_impl.c into retroarch.c 2019-06-19 09:51:56 +02:00
twinaphex
f7d24b7c10 Cleanup 2019-06-19 06:08:35 +02:00
twinaphex
f461f32264 Buildfix 2019-06-19 05:52:16 +02:00
twinaphex
6d4ebfe9c5 Cleanups 2019-06-19 05:35:03 +02:00
twinaphex
3a984fc2e5 (GDI) Use video_info->userdata instead of querying video_driver_get_ptr
(retroarch.c) Simplify video_driver_get_ptr
2019-06-19 05:25:26 +02:00
twinaphex
68cbd5048c Convert input_conv_analog_id_to_bind into macro 2019-06-19 05:16:24 +02:00
twinaphex
84d246ad0b Cleanup unused functions 2019-06-19 04:15:30 +02:00
twinaphex
5d91af629e Set SHADERS_SLANG flag for D3D10/11/12 and query the video driver poke
interface's 'get flags' function before querying the video context
driver's 'get flags' function (D3D10/11/12/WiiU don't have a context
driver at all)
2019-06-19 03:18:28 +02:00
twinaphex
a6b3d6e8db Silence some warnings 2019-06-19 00:34:28 +02:00
Twinaphex
dd315ba7bc
Merge pull request #8985 from bparker06/d3d_gpu_select
d3d10/11/12: add GPU selection
2019-06-19 00:19:51 +02:00
twinaphex
eee7430ffa Fix CXX_BUILD 2019-06-19 00:10:03 +02:00
Brad Parker
d01f04c146 d3d10/11/12: add GPU selection 2019-06-18 16:35:50 -04:00
twinaphex
b62476da77 Revert "Turn wifi_driver_ctl into a static function"
This reverts commit 8a5ae0b6cf.
2019-06-18 22:18:11 +02:00