Commit Graph

628 Commits

Author SHA1 Message Date
twinaphex
c090ee634c (Android) Remove debug_input_enable 2014-06-20 07:03:06 +02:00
Themaister
f34b175a0f De-opaque core_info. 2014-06-17 17:28:39 +02:00
Themaister
5530de0fb7 Android: Fix handling of libretro_path/libretro_directory. 2014-06-16 21:50:29 +02:00
Themaister
7dae96687d Don't override savestate/save dir if set from CLI. 2014-06-13 12:34:46 +02:00
Themaister
d7d1d9ff10 Properly handle overlay_enable changes. 2014-06-13 12:19:34 +02:00
twinaphex
d476f0df91 Revert "Remove g_settings.audio.block_frames - never used"
This reverts commit 9ed3f3847c.
2014-06-13 02:15:10 +02:00
twinaphex
ddf0dcb165 (Android) Build fixes/cleanups to frontend 2014-06-13 01:10:14 +02:00
twinaphex
9ed3f3847c Remove g_settings.audio.block_frames - never used 2014-06-13 00:17:23 +02:00
twinaphex
34f161f1c9 (Android) fix input overlay enable 2014-06-12 23:23:04 +02:00
twinaphex
2f3af72501 Build fixes 2014-06-12 22:31:25 +02:00
twinaphex
a8c8e04e73 (Mobile) Set default input overlay when input is NULL 2014-06-12 22:17:20 +02:00
twinaphex
5532babfd6 (Overlays) Add explicit overlay_enable option 2014-06-12 22:15:32 +02:00
twinaphex
7590defc57 Add g_defaults.settings.out_latency 2014-06-12 18:30:41 +02:00
twinaphex
97a262dd60 Rename default_paths to g_defaults 2014-06-12 18:06:29 +02:00
Themaister
ee916bf2f1 Some Android fixes.
Dump config with RARCH_LOG instead of fprintf.
2014-06-11 15:48:15 +02:00
twinaphex
2a32a397c9 (Xbox 1) Take out unnecessary audio DSP effect option 2014-06-11 00:55:14 +02:00
twinaphex
d1f8ee6132 (Android) Take out bad Android input hacks 2014-06-11 00:41:48 +02:00
twinaphex
5ac449f564 (RARCH_MOBILE) Set default overlay to retropad
(Frontend) Change preprocessor conditional to RARCH_MOBILE instead of __QNX__
2014-06-10 19:13:54 +02:00
twinaphex
966db762cf (Menu) More replacement of namespace prefix 'rgui' with 'menu' 2014-06-10 02:06:10 +02:00
Themaister
159ddb86d3 Add has_set* state for netplay settings. 2014-06-10 00:01:03 +02:00
twinaphex
74708ede99 (GX) Input rewrite pt. 2 - buggy and error-prone right now 2014-06-09 23:21:48 +02:00
twinaphex
361a1653c2 Save netplay settings 2014-06-09 22:50:44 +02:00
twinaphex
8cdef6a5f0 Take out RARCH_CONSOLE omission of hats 2014-06-09 15:42:07 +02:00
Themaister
e545d695ec Begin big rewrite of GL/raster font rendering path. 2014-06-08 14:08:26 +02:00
twinaphex
7b9301cea0 skip setting of default path for overlay directory if HAVE_OVERLAY
not defined
2014-06-04 01:44:38 +02:00
twinaphex
a55379c35b (Android) Change some params to default_paths in environment_get
function
(Default paths) Add default_paths.core_path
2014-06-02 08:55:47 +02:00
twinaphex
753d78dfd3 (Performance counters) Add performance counters to regular build
(Menu/Setting) Enable g_extern.perfcnt_enable - turns RetroArch
frontend perfcounters on/off
(Menu) Add menu option 'Performance Counters'
2014-06-01 22:07:39 +02:00
twinaphex
237ac1aa56 Add default_paths.audio_filter_dir 2014-06-01 05:52:16 +02:00
twinaphex
4d63b1d391 Move default_paths to settings.c 2014-06-01 05:06:55 +02:00
twinaphex
7303be0195 Merge rarch_console.h with frontend.h 2014-06-01 04:50:00 +02:00
twinaphex
62cd5bbe8a default paths overwriting code now gets applied for all platforms 2014-06-01 04:46:57 +02:00
twinaphex
64d413fb68 Add screenshot_dir to default_paths 2014-05-31 16:23:45 +02:00
twinaphex
da51530f0e (RARCH_CONSOLE) Setup default_paths properly 2014-05-31 08:15:57 +02:00
twinaphex
261ac0e3e7 (RARCH_CONSOLE) Now uses same menu input binds for menu as
PC - allows analog sticks to be used for navigation as well
for consoles
2014-05-31 05:41:32 +02:00
twinaphex
608d271d2c (PS3) Take out hack that would not allow Soft Filter to be set at startup 2014-05-29 03:18:29 +02:00
twinaphex
b683feb389 (RARCH_CONSOLE) More cleanups to PS3 input/graphics drivers - don't do
early exit out of graphics/input free functions and ditto for init
function
2014-05-28 23:32:14 +02:00
twinaphex
e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00
twinaphex
c9c7201045 Get rid of rarch_fail in parse_config_file 2014-05-28 19:03:29 +02:00
twinaphex
f788249c59 (Menu) Add get_default_menu function for default settings 2014-05-27 17:13:53 +02:00
twinaphex
9665fcc663 Add menu_driver to retroarch.cfg 2014-05-27 01:13:43 +02:00
Themaister
4093933abb Don't override g_extern.verbose CLI argument. 2014-05-26 11:07:59 +02:00
twinaphex
09f5f2c25a (Menu) Expose logging verbosity and libretro log level to menu
(Settings) Save logging verbosity
2014-05-26 02:44:58 +02:00
Themaister
745cab4f4e Fixups for fastforward_ratio and slowmotion_ratio.
Rename to Game Speed Cap in RGUI, more clear.
2014-05-25 13:13:55 +02:00
Themaister
addba80c3b Rewrite DSP plugin interface. 2014-05-20 12:28:33 +02:00
twinaphex
b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
twinaphex
ac2ddc3b20 Add 'assets' directory - interfaces like menus will try to look
here for loadable assets, etc. Can be expanded in scope later on
as well as a sandbox directory for user-modified content.
2014-05-10 05:12:31 +02:00
Themaister
05eac0c8a2 Add new libretro_directory.
Avoid kinda-weird dual purpose of g_settings.libretro.
2014-05-09 18:51:20 +02:00
Themaister
dacb84c7db Set default core specific config correctly. 2014-05-02 09:56:19 +02:00
twinaphex
4e9b4cab6a audio_latency/audio_sync/audio_block_frames saved to config file
now
2014-04-30 21:59:41 +02:00
twinaphex
dd95708399 Should save audio DSP filter index now on non-HAVE_DYLIB targets 2014-04-29 22:55:37 +02:00
twinaphex
28aa7a46f9 (PS3) Workaround filter being applied at startup automatically crashing
the GCMGL PS3 driver - by disabling loading the last filter at
startup - user can select a filter once the program is running just
fine.

The entire GCMGL codebase is a big mess and would all need to be
rewritten someday
2014-04-29 02:44:58 +02:00
twinaphex
9f3ffa077d (Menu) Add DSP filter options 2014-04-27 18:15:41 +02:00
twinaphex
5db500b4a1 (Menu) Add input_axis_threshold option to menu 2014-04-26 15:57:53 +02:00
twinaphex
8b52487408 (HAVE_FILTERS_BUILTIN) Save filter_index to config file now 2014-04-20 03:34:26 +02:00
twinaphex
a1cd11cdbf Save video_windowed_fullscreen setting to config file now 2014-04-20 03:27:55 +02:00
Themaister
1cbb47229a Make video_shared_context an option.
Might be part of libretro API later if necessary. Must be discussed with
other frontend developers first.
2014-04-19 16:37:39 +02:00
Themaister
4913683462 Small filter fixes. 2014-04-15 12:22:01 +02:00
twinaphex
6bdd5cf6ec Add RGUI actions for Softfilter directory path and Softfilter selection -
maister - test if this works - it doesn't here on my end and keeps saying
that the example softfilter (dark.c) has the wrong color format)
2014-04-15 06:19:24 +02:00
twinaphex
125d9e837e Add load_dummy_on_core_shutdown option to cfg and RGUI 2014-04-14 06:07:17 +02:00
twinaphex
802bbcb321 (Menu) Add Font Options 2014-04-07 22:12:23 +02:00
twinaphex
6c6239a5b7 Save camera_allow/location_allow to config file 2014-04-07 18:50:52 +02:00
twinaphex
e779681528 Add Privacy Options 2014-04-06 22:59:16 +02:00
Themaister
2e3ca36010 Allow toggling monitor index in RGUI. 2014-04-06 15:41:53 +02:00
Themaister
3b6616f2cb Set fullscreen_x/y in config_save. 2014-04-06 15:22:24 +02:00
Themaister
2280e28737 Add support for ZIP extraction to temporary folders. 2014-04-04 17:33:19 +02:00
Themaister
c81de5119d Initial take on subsystems support. 2014-04-04 14:58:42 +02:00
Themaister
88526a4ab7 Save some missing options.
video_disable_composition and pause_nonactive.
2014-04-01 19:30:32 +02:00
twinaphex
c8906bc016 (XDK) Look for driver 'd3d' instead of 'xdk_d3d' 2014-03-07 21:24:43 +01:00
Themaister
52c32072ec Add log level support for libretro cores. 2014-03-01 12:02:48 +01:00
twinaphex
7452a48864 Add back resampler selection code 2014-02-25 02:55:25 +01:00
twinaphex
04507b0218 (QNX/iOS) Update QNX/iOS paths for default overlay 2014-02-21 18:47:11 +01:00
aliaspider
650adef8da (PSP) added audio support 2014-02-17 14:26:03 +01:00
Themaister
b86ca166bf Expose more SRAM settings in RGUI.
Also treat save state slot -1 as the "auto save slot".
2014-02-15 11:12:34 +01:00
twinaphex
7d7e32df47 (OSX) Define -DHAVE_MENU 2014-02-11 06:26:48 +11:00
Themaister
4653174cf5 Don't reset volume settings on driver reinit. 2014-02-08 16:24:21 +01:00
Themaister
8783eb69e6 Clear out shader path/dir on config_get_defaults. 2014-01-15 09:34:51 +01:00
Toad King
b006fcef82 fix core-specific configs not saving on consoles if you don't start a game 2014-01-11 02:23:24 -05:00
Themaister
2605951f8b Don't save mute setting.
Extremely annoying to start with lack of audio and have no idea what
causes it.
2014-01-09 23:11:33 +01:00
Themaister
f57a1aa032 Add support for mapping analogs to D-pad again.
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.

Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
meancoot
b5ea9b4eb9 (OSX) Use more sane default config path. 2014-01-03 17:16:02 -05:00
Themaister
76c7f13f8c Add INPUT_UDEV string to get_default_input_driver. 2014-01-03 20:18:50 +01:00
Themaister
be81549d92 Only save per-core configs when core specific option is enabled.
Also, need to enforce that g_settings.core_specific_config is true
after loading core specific config. It's possible that core specific
option is set to false before loading a different core (using global
config only).
2014-01-02 18:01:01 +01:00
Themaister
13a006d147 Restructure per-core configs.
Merging yesterday was probably a bit premature.

One issue I overlooked was that per-core configs were not flushed to disk
when loading a new core on PC. The per-core flushing only happened on
main_exit(), which is only run on application termination. This hence
would only work with consoles with exitspawn.

config_set_defaults() must be called when loading per-core-specifics as
well or lots of options silently leak into other core specific configs
when cores are changed.

The handling with g_extern.config_path and original_config_path was
difficult logic and very error prone considering it was mutated aribitrarily by RGUI.
I've removed the original config path concept and stuck
with that config_path is *only* for global config, and
core_specific_config_path is for core-specifics (which are resolved
during config load). Saves some memory too,
which is always nice.

The block_config_read solution I proposed yesterday was not good after
all (in fact, broken on PC), and the current solution should work better.

"RetroArch Config" option in RGUI now only shows global config.
2014-01-02 17:52:48 +01:00
Toad King
e0671aba8b per-core minor fixes 2014-01-01 19:06:06 -05:00
Toad King
e022b39061 fix per-core config on PC 2014-01-01 15:34:56 -05:00
Toad King
8f45063f74 menu support for core specific config 2014-01-01 15:02:57 -05:00
Toad King
5215a7cf24 save core specific config option 2014-01-01 14:52:35 -05:00
Toad King
0a91c528f9 core-specific config files 2014-01-01 14:44:20 -05:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
17af6a0465 (D3D) Rename video_d3d9 to video_d3d 2014-01-01 01:09:31 +01:00
Themaister
7bd6599634 Fix -L arg when default libretro is set. 2013-12-28 23:30:20 +01:00
twinaphex
ff036066e2 Rework frontend - separate functions now for iterating per frame
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
twinaphex
6ce9c64e04 (Android) Change default overlay for Android to snes/snes.cfg 2013-12-28 03:14:21 +01:00
twinaphex
75a6db27b4 (GX/PS3) Reimplement menu binds 2013-12-26 20:11:33 +01:00
Themaister
b23ff3b663 Refactor content_directory.
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
meancoot
87fff22956 (iOS) Add some common settings to the root of the core settings menu; Add some default paths; Add a default overlay 2013-12-25 09:52:09 -05:00
twinaphex
204113e389 Add environ callback to expose 'Content Directory' path to core -
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
meancoot
4d671fe116 Make settings abbreviate paths when saving config file. 2013-12-24 12:23:21 -05:00
twinaphex
129b7093a3 Set default overlay opacity to 0.7f 2013-12-22 03:03:26 +01:00
twinaphex
e983aa4c35 (Location) Implement stub Android location driver - will still need
a couple of functions filled in
2013-12-19 03:37:26 +01:00