twinaphex
28e0b669d2
(menu) move more state over
2021-09-21 05:44:53 +02:00
twinaphex
58bc88d433
Move menu_driver_state over to menu_driver.c and move it out of
...
p_rarch
2021-09-21 05:33:46 +02:00
twinaphex
30353ac8f2
move more code out of retroarch.c/retroarch_data.h and into
...
menu_driver.c
2021-09-21 05:11:39 +02:00
twinaphex
d68a138250
Move more menu state to menu_state_t - and move code from
...
retroarch.c to menu_driver.c
2021-09-21 04:51:38 +02:00
twinaphex
c4b8fab0d0
Move menu_input_state to menu_state
2021-09-21 04:20:04 +02:00
twinaphex
f3b2e233bb
Move more code to menu_driver.c
2021-09-21 00:51:15 +02:00
twinaphex
abebf4a421
Cleanups
2021-09-21 00:41:52 +02:00
twinaphex
ec55f8188a
Move code out of retroarch.c and into menu/menu_driver.c
2021-09-21 00:12:26 +02:00
twinaphex
e2e236f1bf
Create menu_state_get_ptr()
2021-09-21 00:00:50 +02:00
twinaphex
94b5769375
Cleanups
2021-09-20 21:21:54 +02:00
twinaphex
d2af43d457
Cleanups
2021-09-20 21:08:53 +02:00
twinaphex
fabdede667
Move anim_get_ptr to gfx_animation.c
2021-09-20 20:17:53 +02:00
Autechre
cbfa8d6400
Move coreinfo_get_ptr internal state back to core_info.c ( #13020 )
2021-09-20 15:43:27 +02:00
twinaphex
9b5a60af53
Move location driver code to separate file
2021-09-20 06:26:14 +02:00
twinaphex
238eb649a2
Split up midi_driver code to midi_driver.c
2021-09-20 03:43:37 +02:00
twinaphex
b3d724b7a3
Move code out of retroarch.c
2021-09-18 22:05:03 +02:00
twinaphex
eb895f9947
move more code out of retroarch.c
2021-09-18 21:14:15 +02:00
twinaphex
1c546cb7fd
move more code out of retroarch.c
2021-09-18 21:03:16 +02:00
twinaphex
db3f0a8468
Move code out of retroarch.c - move it into
...
network/netplay/netplay_frontend.c
2021-09-18 06:15:02 +02:00
twinaphex
7c74e035b0
Small cleanups
2021-09-18 06:15:02 +02:00
Autechre
62a66ff0e5
Prevent crash pointed out by LIJI - primary_joypad can be NULL ( #13002 )
2021-09-17 05:20:09 +02:00
twinaphex
3c69a941da
Move code over to input_driver.c
2021-09-13 18:33:53 +02:00
twinaphex
2b08ebb677
Cleanups
2021-09-13 18:09:44 +02:00
MajorPainTheCactus
3c6bdfd0d8
Fixed numerous issues with HDR ( #12979 )
...
* Fix for warning and fix for incorrect comment
* Fixed contrast to be more correct - now scales from 0-10 linearly and behaves more the way you'd expect it to - changed name to ditch legacy settings users may have
Added ability to skip inverse tonemapper to the shader via the constant buffer using 'inverse_tonemap' - set to 0.0f to skip
Fixed potential bug when swapping between hdr and sdr and the bit depth not being set correctly
Fixed dx11's blend, rasterizer and topology states not being set to the sames when using hdr and leaving the menu - caused issues with PCSX2's Shadow of the Colossus
Added numerous helper functions to help create the correct values to colour the UI - normally the white UI elements should be rendered at paper white not max brightness for various reasons
* Fix stylistic issues - * Don't use camelcase for variables and function names * Use '(void)' for function declarations instead of () in C code * Declare variables at the top of a function or code block * Make sure functions that return a value always have a default return path that is not encapsulated by an else block * Use more unique names for retro_math functions which are less likely to overlap with other libraries' function symbols
Co-authored-by: twinaphex <libretro@gmail.com>
2021-09-13 16:54:50 +02:00
twinaphex
ad4b51b903
Move cde from retroarch.c to input_driver.c
2021-09-12 19:27:12 +02:00
twinaphex
b5138b6122
Move input_config_get_bind_string to input_driver.c
2021-09-12 17:41:00 +02:00
twinaphex
ad39b1d115
Simplify osk_update_last_codepoint()
2021-09-12 17:36:22 +02:00
twinaphex
26b9439dbc
C89_BUILD buildfix
2021-09-12 16:50:46 +02:00
Autechre
cfcd0a7a0d
Merge pull request #12795 from sonninnos/video-rate-switch
...
Automatic PAL/NTSC refresh rate switch where available
2021-09-12 16:15:04 +02:00
twinaphex
1b8d68c6e4
Another buildfix
2021-09-11 18:36:12 +02:00
twinaphex
c4cbcb2ff4
Add ifdef around this
2021-09-11 18:22:07 +02:00
twinaphex
2490f6e215
Move code from retroarch.c to video_shader_parse.c
2021-09-11 18:15:35 +02:00
twinaphex
c75bb549e5
Move another function over to menu_driver.c
2021-09-09 17:26:59 +02:00
twinaphex
4830150d22
Move function out of retroarch.c and into menu_driver.c
2021-09-09 17:21:48 +02:00
twinaphex
8564b4f8e3
Fix compilation problem when HAVE_BSV_MOVIE is not defined
2021-09-09 16:58:52 +02:00
twinaphex
6a310ecfed
Move more code to command.c
2021-09-09 16:55:14 +02:00
twinaphex
14cd338b97
Move code from retroarch.c to command.c
2021-09-09 16:31:35 +02:00
twinaphex
9b8145f05d
Cleanups
2021-09-09 16:06:57 +02:00
twinaphex
a11b1c3b72
(retroarch.c) Cleanups
2021-09-09 16:01:33 +02:00
twinaphex
772282eeec
Move menu shader code over to menu_driver.c
2021-09-09 15:33:17 +02:00
twinaphex
28389d30e8
Move some code from retroarch.c over to menu_driver.c
2021-09-09 15:22:12 +02:00
twinaphex
6c79cebc6e
Move input_overlay_auto_rotate_ out of retroarch.c and into
...
input_driver.c
2021-09-09 14:24:42 +02:00
twinaphex
81e7dab159
Move code out of retroarch.c and into input_driver.c
2021-09-09 14:11:46 +02:00
Michael Burgardt
303d17e2e6
Rebase 'Add generic rumble gain to input settings' by davidgfnet
2021-09-08 19:52:32 +02:00
Jamiras
8a31b732dd
disable slowmotion when enabling hardcore mode ( #12958 )
2021-09-08 18:57:19 +02:00
bulzipke
8018be5c9b
Fix ram states to file when core deinit ( #12956 )
...
* Fix ram states to file when core deinit
* Fix unterminated state_path
Call CMD_EVENT_RAM_STATE_TO_FILE when CMD_EVENT_UNLOAD_CORE too
2021-09-08 18:01:07 +02:00
twinaphex
c9e587a5a7
Move more input code over to input_driver.c from retroarch.c
2021-09-07 14:55:37 +02:00
twinaphex
ccbbf45760
retroarch.c - cleanups
2021-09-07 13:55:42 +02:00
twinaphex
276b4fd72c
Move more code over from retroarch.c to input_driver.c
2021-09-07 13:08:31 +02:00
twinaphex
67defbcf26
Transfer code over from retroarch.c to input_driver.c
2021-09-07 12:42:03 +02:00