Commit Graph

57690 Commits

Author SHA1 Message Date
twinaphex 69bae76ec3 Buildfix for MSVC 2021-03-07 16:08:49 +01:00
unknown 1288a35841 Add some PSL1GHT ifdefs 2021-03-07 09:28:59 +01:00
twinaphex a657465a4a Don't call netplay_get_host_room/don't call state_manager_is_reversed
inside retroarch.c
2021-03-07 07:28:13 +01:00
twinaphex 58f54a757f Move global pointer getters to the top 2021-03-07 07:16:40 +01:00
twinaphex 348b353907 Don't use menu_navigation_set_selection inside retroarch.c 2021-03-07 07:09:37 +01:00
twinaphex d6e897ca2c Get rid of menu_entries_set_checked 2021-03-07 06:52:35 +01:00
twinaphex b65d4e483e Avoid calls to menu_entries_get_menu_stack_ptr and
menu_entries_get_selection_buf
2021-03-07 06:26:51 +01:00
twinaphex 7b6a01056e Optimizations to menu refresh/clear functions -
* don't use menu_entries_get_size but used optimized
getter
2021-03-07 06:07:45 +01:00
twinaphex fa2b2708e5 Optimize MENU_ENTRIES_CTL_REFRESH 2021-03-07 06:00:35 +01:00
twinaphex 2bc23c9eaa Found quirk in code - add TODO/FIXME note 2021-03-07 05:49:12 +01:00
twinaphex ef650b2b48 Simplify menu_entries_elem_get_first_char - list is always non-NULL
so no need to check this
2021-03-07 05:25:34 +01:00
twinaphex ae378b8b80 Simplify further 2021-03-07 04:59:21 +01:00
twinaphex 3442f57bc7 menu_shader_manager_set_preset - ret is already set to false
by default, no need to set it again
2021-03-07 04:57:55 +01:00
twinaphex 0b863d6bc7 Forget 'void' for function prototype - needed for C 2021-03-07 04:48:30 +01:00
twinaphex 09bf486618 More cleanups 2021-03-07 04:40:12 +01:00
twinaphex b45eb0c76d Cleanups 2021-03-07 04:28:33 +01:00
twinaphex 2c7d5ad944 Get rid of p_rarch being passed as argument to functions whenever
possible
2021-03-07 04:15:17 +01:00
twinaphex 48926799cb Don't pass p_rarch around as argument unless we have to 2021-03-07 03:35:04 +01:00
twinaphex 5b3e3187c4 Don't pass p_rarch around to other functions if unnecessary 2021-03-07 03:12:55 +01:00
twinaphex e3b810e974 Cleanup 2021-03-07 02:07:37 +01:00
twinaphex a80e563d1f (cheevos) Cut down on calls to gfx_widgets_ready 2021-03-07 02:01:31 +01:00
twinaphex d794a57159 Cleanup 2021-03-06 23:31:37 +01:00
twinaphex 7be3d47b52 Cleanup menu_input_post_iterate 2021-03-06 23:11:00 +01:00
twinaphex a35cecac96 input_state_device - more refactors - prevent duplicate code
for finding base analog
2021-03-06 19:38:21 +01:00
twinaphex 7982613d31 Further optimizations to input_state_device - when input_remote is
false, res is still set to 0, so change conditionals
2021-03-06 19:21:41 +01:00
twinaphex a723e563f0 Further optimize input_state_device - move remote_input boolean
variable and refactor the logic
2021-03-06 19:12:40 +01:00
Autechre ebd2e69927
Merge pull request #12106 from crystalct/master
Add some PSL1GHT ifdefs
2021-03-06 19:02:45 +01:00
twinaphex 7c69911065 Further micro optimizations to input_state_device - get rid
of res_overlay variable
2021-03-06 18:59:30 +01:00
twinaphex 490d67ab83 Refactor tons of stateful code in input_state_device - this should
all be streamlined and further optimized
2021-03-06 18:41:45 +01:00
twinaphex fc65a939b7 Refactor some of the input_state_device code - some very messy code in
here
2021-03-06 18:14:06 +01:00
twinaphex f50906787f Small optimization to turbo button handling 2021-03-06 17:57:04 +01:00
twinaphex e6cb7592a6 Further refinement to code that uses input_joypad_analog_button - value
is not subject to change unless the bind is valid, so move conditional
2021-03-06 17:48:58 +01:00
twinaphex 00a5c9502e Check if bind is valid before calling input_joypad_analog_button 2021-03-06 17:38:25 +01:00
unknown 49eab75938 Add some PSL1GHT ifdefs 2021-03-06 17:35:31 +01:00
twinaphex 5020c6a4d6 input_key_pressed - comment function and redesign it 2021-03-06 17:30:14 +01:00
twinaphex 5b741acbf3 Stylistic cleanups and code refactors to some functions in retroarch.c 2021-03-06 17:21:51 +01:00
Autechre d06bd7fffd
Merge pull request #12105 from Jamiras/read_core_memory
add READ/WRITE_CORE_MEMORY network commands
2021-03-06 17:08:04 +01:00
Jamiras 5783a2907d add READ/WRITE_CORE_MEMORY network commands 2021-03-06 08:05:48 -07:00
Autechre 07146047f9
Merge pull request #12104 from Jamiras/cheevos/rewind_threaded
(cheevos) ensure rewind is only initialized/deinitialized on main thread
2021-03-06 06:44:23 +01:00
Jamiras 1b81620d64 ensure rewint is only initialized/deinitialized on main thread 2021-03-05 22:22:31 -07:00
jdgleaver 9086d241a7 (.gitlab-ci.yml) Add ctr-legacy target 2021-03-05 16:35:04 +01:00
Autechre 330161c394
Merge pull request #12100 from crystalct/master
Add some PSL1GHT ifdefs
2021-03-05 16:00:26 +01:00
Salvo Cristaldi 5bff99b3bf Add some PSL1GHT ifdefs 2021-03-05 10:49:02 +01:00
Autechre bd209eab1f
Merge pull request #12097 from crystalct/master
Fix SYS_THREAD_CREATE_JOINABLE on PSL1GHT
2021-03-04 13:28:52 +01:00
Salvo Cristaldi 4e284751f6 Fix SYS_THREAD_CREATE_JOINABLE on PSL1GHT 2021-03-04 09:05:55 +01:00
Autechre b606217c40
Merge pull request #12086 from valadaa48/oga_gfx_fix_msg
oga_gfx: fix messages from not disappearing
2021-03-03 17:13:46 +01:00
Autechre 81c6495df5
Merge pull request #12095 from crystalct/master
Add some PSL1GHT ifdefs
2021-03-03 17:13:36 +01:00
Salvo Cristaldi 2896856195 Add some PSL1GHT ifdefs 2021-03-03 12:02:32 +01:00
Autechre 6957a766ec
Merge pull request #12085 from crystalct/master
Add some PSL1GHT ifdefs
2021-03-02 22:08:01 +01:00
valadaa48 71cbec9252 oga_gfx: fix messages from not disappearing 2021-03-01 19:25:54 -05:00