twinaphex
0135a33a7c
Move more variables to RetroArch global struct
2020-05-30 17:16:45 +02:00
twinaphex
8ae3fe1e80
Cleanups
2020-05-30 14:45:12 +02:00
twinaphex
3b9f131930
Move more RetroArch global state to struct
2020-05-30 14:26:10 +02:00
twinaphex
f2ee7c8f0b
Localize message
2020-05-29 11:57:03 +02:00
twinaphex
22f2cf1e56
Get rid of dir_get and other useless wrapper functions
2020-05-29 05:36:48 +02:00
twinaphex
3af84d73e9
Move menu_content_environment_get to retroarch.c
2020-05-29 05:28:29 +02:00
twinaphex
ea0d3b5fd8
Remove obsolete function rarch_timer_begin_us
2020-05-29 05:21:37 +02:00
twinaphex
6b781d5a9b
Move global performance counter state into retroarch.c
2020-05-29 05:12:09 +02:00
twinaphex
009d979b6c
Move more variables to retroarch global state
2020-05-29 04:59:29 +02:00
twinaphex
aa2e9b9a00
Buildfixes
2020-05-28 23:15:28 +02:00
twinaphex
02bc3ee1e8
Buildfixes/cleanups
2020-05-26 21:34:05 +02:00
Autechre
a62cac03e6
Merge pull request #10679 from jdgleaver/retro-message-ext
...
Add API extension to provide cores with finer grained control over environment callback messages
2020-05-26 17:39:49 +02:00
Twinaphex
63f5723b27
Silence warnings
2020-05-26 17:38:52 +02:00
jdgleaver
a1210d63cc
Extended core message interface - add API support for 'progress' messages
2020-05-26 11:42:46 +01:00
jdgleaver
23916f88c7
Extended core message interface - add concept of message 'type'
2020-05-26 10:03:25 +01:00
jdgleaver
fc8b76708a
Add API extension to provide cores with finer grained control over environment callback messages
2020-05-26 10:03:25 +01:00
Twinaphex
e179a8e568
Cleanups
2020-05-26 08:53:29 +02:00
twinaphex
fec69828a9
Cleanup
2020-05-26 08:49:59 +02:00
twinaphex
a1ed747a7f
Cleanups
2020-05-26 08:42:10 +02:00
twinaphex
2386ec8f0c
Move more variables to rarch global struct
2020-05-26 08:34:43 +02:00
twinaphex
7cfbe73288
Move more variables to rarch global state struct
2020-05-26 08:15:35 +02:00
twinaphex
c637686a76
Move more variables to retroarch global state
2020-05-26 03:18:34 +02:00
twinaphex
fda235518a
Cleanup command_event_disable_overrides
2020-05-26 02:11:59 +02:00
twinaphex
1c45a070d1
Avoid namespace collision
2020-05-26 02:03:34 +02:00
twinaphex
922d5a00e1
Cleanups and add FIXME/TODO note
2020-05-26 02:02:20 +02:00
twinaphex
24ca499570
Cleanups
2020-05-26 01:14:26 +02:00
twinaphex
b70451d550
Start creating retroarch main state global struct
2020-05-26 00:01:59 +02:00
twinaphex
602d3d285c
Revert "(glcore) switch to glcore video driver when requested"
...
This reverts commit 7a3ddcd77d
.
2020-05-25 21:31:23 +02:00
Autechre
3db672a60d
Revert "Revert "Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior"""
2020-05-25 21:26:11 +02:00
Autechre
950bf29c27
Revert "Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior""
2020-05-24 23:42:12 +02:00
Autechre
d1f4279b8f
Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior"
2020-05-24 23:24:35 +02:00
twinaphex
fa37234a49
Cut down on strlens
2020-05-24 21:23:52 +02:00
twinaphex
53beaee6e6
Cleanup
2020-05-24 18:28:27 +02:00
twinaphex
5b562c4c24
Style nits/cleanups
2020-05-24 18:21:30 +02:00
twinaphex
1a2fdffd5b
Move variables to top
2020-05-24 18:02:47 +02:00
twinaphex
6591b53547
Cleanup
2020-05-23 04:23:03 +02:00
twinaphex
7d6c0417eb
Silence warning
2020-05-23 04:17:12 +02:00
twinaphex
7cbb79277d
Cleanup core_load_game function
2020-05-22 19:43:10 +02:00
barbudreadmon
2f57d3cbea
(video) fix "Allow Cores to Switch the Video Driver OFF" behavior
...
fix #10677 : video driver must never be switched when this setting is set to OFF, it is the job of the core to request the right context
2020-05-22 15:38:47 +02:00
twinaphex
6dc758a080
Move cheevos-new to cheevos/
2020-05-21 23:23:01 +02:00
Twinaphex
ede03659ca
Update
2020-05-21 22:31:51 +02:00
Autechre
52e8c102fc
Merge pull request #10671 from johanbcn/improved-shader-preset-dirs
...
Improved shader preset dirs
2020-05-21 17:17:03 +02:00
Joan Coll Cerdán
04016ed4a6
Improve shader initialization code.
...
Patch by @jdgleaver.
2020-05-21 13:29:09 +02:00
twinaphex
a4f143a71a
Buildfix
2020-05-21 00:46:49 +02:00
twinaphex
2037de5b33
Silence more warnings
2020-05-20 23:40:26 +02:00
jdgleaver
41cee583e3
NUL terminate 'fps_text' string
2020-05-20 17:51:20 +01:00
jdgleaver
c346e1f816
Various file path handling optimisations
2020-05-20 17:05:22 +01:00
Joan Coll Cerdán
e43111d9cb
Support fallback dirs to cycle user shader presets
...
When a user shader preset was saved, if the Video Shader directory
wasn't writable, it would fall back to the Menu Config directory, and
failing that, it would fall back to the directory where retroarch.cfg
is stored.
This change allows the shader cycling feature to use those directories
if no shader presets are found on the Video Shader directory.
2020-05-20 17:47:23 +02:00
Joan Coll Cerdán
2768655267
Cleaner structure for auto shader presets.
...
Additional changes:
* Restore the previous storage path for user-presets until a better
solution is agreed upon.
* Stop using the Video Shaders directory as fallback directory to
store autopresets. Will be used only when autoloading as last resort to
ensure compatibility with old setups.
2020-05-20 17:47:23 +02:00
twinaphex
aeb3f692d5
Get rid of superfluous get_ai_service_auto/set_ai_service_auto get/set
...
wrapper functions
2020-05-20 16:35:53 +02:00
twinaphex
af01b97a11
Add TODO/FIXME
2020-05-20 16:32:20 +02:00
twinaphex
03ea12d334
Move discord files to network/
2020-05-20 15:27:27 +02:00
twinaphex
a8fdfd77ce
Make gamma correction 'int' type across the board
2020-05-20 15:04:16 +02:00
twinaphex
cb5de27631
Cleanup
2020-05-20 14:48:22 +02:00
twinaphex
d9ccd3a737
Turn core_poll_type_override into enum variable
2020-05-20 14:23:25 +02:00
twinaphex
d1c130d60a
Global variable cleanups
2020-05-20 06:29:58 +02:00
twinaphex
692f37b91a
Rearrange global variables
2020-05-20 06:04:51 +02:00
twinaphex
13279eb0d4
Move defines to top
2020-05-20 04:54:14 +02:00
twinaphex
9e5f00ba27
Turn retroarch_fail static
2020-05-20 04:43:35 +02:00
twinaphex
1e21bf5074
Move defines to top
2020-05-20 04:39:27 +02:00
twinaphex
51c1064609
retroarch_validate_per_core_options - cut down on code duplication
2020-05-20 04:18:57 +02:00
twinaphex
a188826a10
Cleanups
2020-05-20 04:02:43 +02:00
twinaphex
24dd7409bc
Move more global variables and forward declarations up top
2020-05-20 03:58:36 +02:00
twinaphex
cc2d70f044
(retroarch.c) Turn some AI functions static
2020-05-20 03:47:14 +02:00
twinaphex
7b5b14b0a7
More reorganization of globals, enums, defines
2020-05-20 03:38:16 +02:00
twinaphex
969475254f
(retroarch.c) Reorganize globals, forward declarations, and defines
2020-05-20 03:30:04 +02:00
twinaphex
5852251d56
Fix --disable-menu
2020-05-20 02:25:33 +02:00
twinaphex
182ad31c63
(retroarch.c) Relocate structs and enums
2020-05-20 02:19:20 +02:00
Autechre
7eaa771d57
Merge pull request #10663 from jdgleaver/overlay-leak-fix
...
Fix memory leak when loading overlays
2020-05-19 18:05:23 +02:00
twinaphex
521f4bfefc
Remove more unneeded video_frame_info variables
2020-05-19 17:52:54 +02:00
jdgleaver
6800fadafe
Fix memory leak when loading overlays
2020-05-19 16:37:20 +01:00
twinaphex
26c6c34817
video_frame_info - remove more unused settings
2020-05-19 16:51:05 +02:00
twinaphex
3f98cbc52d
Get rid of some unneeded variables in video_frame_info
2020-05-19 16:42:56 +02:00
Jamiras
6946f878ef
disable hardcore when cheats are enabled
2020-05-16 08:01:24 -06:00
Joan Coll Cerdán
fe42f6bb73
Changed the order of shader preset directories.
...
The Menu Config directory now takes precedence over the Video Shader
directory for the storage of shader preset overrides. With this, all
user overrides are grouped by default under the same path.
2020-05-13 19:54:08 +02:00
Joan Coll Cerdán
f1f248dd11
Add fallback directories to shader presets.
...
Improves the management of shader presets by using the Menu Config directory
and the directory of the configuration file as alternate fallback directories
whenever the Video Shader directory is not writable.
2020-05-13 19:54:08 +02:00
Vladimir Serbinenko
7b351da006
Fix crash with null audio driver
2020-05-12 03:09:38 +02:00
twinaphex
6a4a522244
Cut down on some code duplication and turn
...
retroarch_validate_game_options static
2020-05-11 17:19:55 +02:00
twinaphex
81a623c2b6
Style nits
2020-05-11 16:49:31 +02:00
Twinaphex
2f3ef75bf6
Remove some unused variables and some style nits
2020-05-10 01:10:45 +02:00
twinaphex
3ad4b057f9
Go back to 1.8.4 netcode
2020-05-10 01:02:47 +02:00
barbudreadmon
7a3ddcd77d
(glcore) switch to glcore video driver when requested
...
fix #10486
2020-05-09 17:15:45 +02:00
jdgleaver
702bc18128
(3DS) Disable video filter if upscaled resolution exceeds hardware limits
2020-05-04 11:52:53 +01:00
jdgleaver
3f2ba2e791
Add option to mute audio when fast-forwarding
2020-05-01 12:19:31 +01:00
Karl Forshaw
5ed60cde04
Advise against using -s and -S variables on the command line.
...
Signed-off-by: Karl Forshaw <karlforshaw@gmail.com>
2020-04-29 13:39:12 +01:00
Autechre
39aae2872d
Merge pull request #10525 from libretro/set_gamepad_bitwise_fix
...
Added small fix to set_gamepad_input_override bit logic.
2020-04-27 20:28:54 +02:00
Barry Rowe
d87fa1799e
Added small fix to set_gamepad_input_override bit logic.
2020-04-27 10:16:11 -07:00
jdgleaver
9eb8472805
Only write config files to disk when parameters change
2020-04-27 17:06:35 +01:00
maksun
b92ac7d439
[Retroarch] Tiny issue when displaying version
...
Just two lines to fix #10445
2020-04-23 19:48:51 +02:00
jdgleaver
fa9290cf1e
Add optional playlist compression
2020-04-21 16:44:26 +01:00
jdgleaver
6ef5fa1aa5
More build fixes
2020-04-17 17:08:12 +01:00
jdgleaver
ddc860d4b0
Build fixes
2020-04-17 16:42:37 +01:00
twinaphex
352519c91e
Another builfdix
2020-04-17 16:32:10 +02:00
twinaphex
f3b82dc998
Buildfix
2020-04-17 16:29:23 +02:00
twinaphex
9f3a2db44e
Merge branch 'master' of https://github.com/libretro/RetroArch
2020-04-17 16:24:39 +02:00
Autechre
018a0baed6
Merge pull request #10401 from libretro/accessibility_menu_fixes
...
Accessibility menu fixes
2020-04-17 03:19:17 +02:00
jdgleaver
233456df47
Add optional save state compression
2020-04-15 15:48:41 +01:00
Barry Rowe
289be872f3
Added in auto-translate support, fixes for ozone and glui accessibility, and support for nvda and SAPI narration.
2020-04-13 17:46:08 -07:00
jdgleaver
223cae66c1
(Playlist Management) Add optional per-playlist alphabetical sorting
2020-04-10 17:07:49 +01:00
twinaphex
a9154373fc
Merge branch 'master' of https://github.com/libretro/RetroArch
2020-04-02 02:13:12 +02:00
Vladimir Serbinenko
2fb7ba22e5
PSL1GHT port
...
Working:
* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video
Not working:
* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse
Not tested:
* A lot
2020-03-30 05:39:22 +02:00
twinaphex
92c472c227
Merge branch 'master' of https://github.com/libretro/RetroArch
2020-03-29 06:01:31 +02:00
twinaphex
4589fde775
Simplify video_context_driver_translate_aspect
2020-03-28 05:44:58 +01:00
twinaphex
19c68fad43
Take out cb_update_window_title and cb_get_metrics
2020-03-28 05:36:31 +01:00
valadaa48
6e4228b054
Add drm_go2_ctx for odroidgo2
...
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.
Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
valadaa48
53fffbd670
Add "oga" graphics driver for odroid go advance
...
libgo2 improvements
- Expose rga scale mode as param for future use
- Cleanup whitespace
- Add option to disable managed surfaces and allow direct posting to drm
driver
oga graphics driver
- Uses direct framebuffers in libgo2
- Bitmap font only supported for now
- Uses built-in bicubic filtering: graphics quality better than gl + bilinear
- Support for rotation
2020-03-22 23:35:22 -04:00
natinusala
997136c029
gfx_widgets: move libretro message widget into its own file
2020-03-17 17:16:21 +01:00
natinusala
7246d0d053
gfx_widgets: move generic message to its own file
2020-03-13 17:13:56 +01:00
twinaphex
7986561598
Rename menu widgets to display widgets
2020-03-13 03:58:33 +01:00
natinusala
375621394c
gfx_widgets: move volume into its own file
2020-03-12 09:31:05 +01:00
jdgleaver
086c68bca7
Enable widget persistence across drivers_init()/driver_uninit() events
2020-03-11 11:47:13 +00:00
Twinaphex
2a0833378d
Merge pull request #10239 from parport0/master
...
(Menu) Add Menu Scroll Acceleration option
2020-03-10 21:33:51 +01:00
jdgleaver
3b3eaa1e24
Ensure proper detection of 'threaded video' state when calling 'drivers_init()'
2020-03-10 12:17:38 +00:00
parport0
1e315bb61b
Rename PSP-style scroll to Menu scroll acceleration
2020-03-10 13:10:09 +01:00
twinaphex
f4c5036c3c
Get rid of video_frame_info dep for fonts
2020-03-10 03:24:59 +01:00
parport0
fb5f557d91
Add PSP-style menu scroll option
2020-03-09 14:34:51 +01:00
twinaphex
7c7eeff0fb
Move display_server code into retroarch.c
2020-03-08 18:48:15 +01:00
Twinaphex
681443cc45
Merge pull request #10228 from phcoder/audiocb
...
Return failure on set_audio_callback without threads
2020-03-07 19:58:20 +01:00
Vladimir Serbinenko
000eaf712a
Return failure on set_audio_callback without threads
...
Current code returns success even though it's actually a failure
2020-03-07 18:53:06 +01:00
twinaphex
4598f186a8
Get rid of video_frame_info dependency
2020-03-07 00:39:06 +01:00
twinaphex
4d7b627421
Get rid of video_info dependency for set_video_mode
2020-03-06 22:58:12 +01:00
twinaphex
e20151a048
Get rid of video_info struct for swap_buffers too
2020-03-06 22:29:51 +01:00
twinaphex
68664fdf1d
update_title - we don't need video_info
2020-03-06 22:11:44 +01:00
twinaphex
8b43e1b4ef
Can get rid of IS_SHUTDOWN
2020-03-06 20:32:22 +01:00
twinaphex
1f553ac1c4
Get rid of menu_shader_set_modified - instead, add a single
...
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
twinaphex
bdc999ca45
Settings cleanups
2020-03-06 03:53:10 +01:00
twinaphex
18a90d81d2
Setting needs to be re-set again
2020-03-06 02:28:37 +01:00
twinaphex
6ad38b4140
Revert "Try to avoid concurrent data access to"
...
This reverts commit 8fd43c0927
.
2020-03-05 22:21:13 +01:00
twinaphex
8fd43c0927
Try to avoid concurrent data access to
...
video_driver_width/video_driver_height
2020-03-05 22:18:59 +01:00
Twinaphex
1c302f26b3
Prevent warning
2020-03-05 15:20:16 +01:00
jdgleaver
35977efe43
Prevent improper display of (old style) OSD text when widgets are enabled
2020-03-05 12:28:38 +00:00
twinaphex
d592959be8
When settings struct gets modified, go through macros to set
...
the modified flag
2020-03-05 13:00:43 +01:00
twinaphex
f87bd0c190
Settings cleanups - make sure things that modify the settings
...
struct go through the wrapper function so that the 'modified'
bit gets set
2020-03-05 12:22:58 +01:00
twinaphex
8bad0b6b7e
Cleanup some comments
2020-03-04 23:22:51 +01:00
twinaphex
a03d4485b0
Cleanup retroarch_validate_per_core_options
2020-03-04 22:41:58 +01:00
twinaphex
c0e088ca07
Add TODO/FIXME
2020-03-04 22:30:17 +01:00
twinaphex
bea4f8aad3
(menu_dialog.c) Cleanups
2020-03-04 22:21:18 +01:00
twinaphex
32e4aea068
Start making the other code safe that is dependent on menu driver
...
ident checking
2020-03-04 20:47:39 +01:00
jdgleaver
29f8189d0e
Add independent widget scale override settings for fullscreen/windowed modes
2020-03-04 17:10:49 +00:00
twinaphex
09df109531
Silence warning
2020-03-03 00:53:43 +01:00
twinaphex
b99501d5d7
Simplify netplay_driver_ctl
2020-03-01 18:22:58 +01:00
twinaphex
0c1568c4ab
Merge netplay_frontend.c into retroarch.c -
...
This should be the last file we have to roll into retroarch.c
2020-03-01 18:02:55 +01:00
twinaphex
45b02df36b
Put HAVE_NETWORKING ifdefs around this code
2020-03-01 17:41:46 +01:00
twinaphex
81ab6d575a
Cleanups
2020-02-29 18:06:06 +01:00
twinaphex
0524d4ae49
(retroarch.c) Settings cleanups
2020-02-29 17:18:25 +01:00
twinaphex
63b7d74272
Cut down get_time_usec calls - pass current_time around instead
2020-02-29 16:52:56 +01:00
twinaphex
b1fa971d35
Do check outside of rarch_perf_log
2020-02-29 08:05:49 +01:00
twinaphex
160d90f22a
(performance counters) Get rid of other duplicate functions
2020-02-29 08:00:38 +01:00
twinaphex
add0cedc48
* Reduce the amount of cpu_features_get_time_usec calls
...
* Put code behind menu ifdefs
2020-02-29 07:41:05 +01:00
twinaphex
55a1837494
menu_input_driver_toggle_on - turn function static
2020-02-27 15:34:47 +01:00