twinaphex
90775e7306
Silence warnings/errors
2021-09-13 20:30:22 +02:00
twinaphex
5e4ce74000
Get rid of duplicate code in gfx_widgets -
...
gfx_display_get_widget_dpi_scale made redundant
2021-09-13 20:21:36 +02:00
twinaphex
490233f3c5
wite_texture is now a static global variable inside gfx_display.c
...
- no longer referenced outside
2021-09-13 19:55:53 +02:00
twinaphex
fe14274b96
Get rid of referencing of gfx_display_white_texture outside
2021-09-13 19:20:43 +02:00
twinaphex
fc4d4c53cd
Cleanup some references to gfx_display_white_texture and
...
don't assume NULL == 0 for uintptr_t
2021-09-13 19:07: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
jdgleaver
12f787547c
Add workaround to fix keyboard input when using x11+udev ( #12981 )
2021-09-13 18:02:40 +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
Autechre
e24440d4a9
Merge pull request #12976 from grant2258/mouse_index
...
this function is called more than once dont use static
2021-09-13 11:44:28 +02:00
Autechre
ed6f33b173
Merge pull request #12978 from 3rd-fork/master
...
Fix issues when opening file with extra long path name
2021-09-13 00:00:03 +02:00
grant2258
88b15c1b1d
this function is called more than once dont use static
2021-09-12 20:58:49 +01:00
Tunip3
2991e82575
fix issue where it would fail to get a handle for a file as the path was too long
2021-09-12 20:26:09 +01: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
3d303a63df
(Ozone) Reduce rotate_z calls
2021-09-12 17:14:03 +02:00
twinaphex
c3cd3b34b0
(XMB) Reduce amount of times we call blend_begin/blend_end and
...
rotate_z
2021-09-12 17:06:59 +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
f09be107c6
Cleanup some extra ifdefs
2021-09-11 17:56:44 +02:00
Autechre
589c72d9a8
Merge pull request #12966 from IlDucci/doublebeforefix
...
Fixing a typo at MENU_ENUM_SUBLABEL_MANUAL_CONTENT_SCAN_VALIDATE_ENTRIES
2021-09-11 12:57:25 +02:00
IlDucci
08f75ab195
Fixing a typo at MENU_ENUM_SUBLABEL_MANUAL_CONTENT_SCAN_VALIDATE_ENTRIES
2021-09-10 17:11:55 +02:00
Autechre
dcf77c4d1e
Merge pull request #12821 from markwkidd/config_h
...
standardize include paths for config.h
2021-09-10 16:59:15 +02:00
Autechre
27bd9868d7
Merge pull request #12963 from jdgleaver/playlist-refresh
...
(Playlist Manager) Add 'Refresh Playlist' option
2021-09-09 18:44:42 +02:00
Autechre
f34c8865ee
Merge pull request #12815 from markwkidd/vscode-fix
...
[VS Code IDE] set .h file association and add vscode configuration to gitignore
2021-09-09 18:44:09 +02:00
Autechre
84174598a4
Merge pull request #12858 from sonninnos/authors-script
...
Update AUTHORS.h and script
2021-09-09 18:35:26 +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
jdgleaver
6da778b934
(Playlist Manager) Add 'Refresh Playlist' option
2021-09-09 16:18:26 +01: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
Autechre
49cce025c7
Merge pull request #12952 from DisasterMo/rumble
...
Rebase 'Add generic rumble gain to input settings' by davidgfnet
2021-09-09 13:52:00 +02:00
Autechre
ace9267c7b
Merge pull request #12960 from Jamiras/cheevos_cfg_overrides
...
(cheevos) don't write achievement credentials to overrides
2021-09-09 09:32:56 +02:00
Michael Burgardt
303d17e2e6
Rebase 'Add generic rumble gain to input settings' by davidgfnet
2021-09-08 19:52:32 +02:00
Jamiras
f0a3ee6003
don't write achievement credentials to overrides
2021-09-08 11:34:19 -06:00
Jamiras
8a31b732dd
disable slowmotion when enabling hardcore mode ( #12958 )
2021-09-08 18:57:19 +02:00
Tony
51b365b5e3
New regular widget message appearance ( #12851 )
2021-09-08 18:14:41 +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