Commit Graph

732 Commits

Author SHA1 Message Date
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
twinaphex 742f85eafc Add HAVE_LOCATION - still need to write frontend drivers now for
location
2013-12-19 01:51:51 +01:00
Themaister 1c9895611b Rework performance interface.
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex 9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex ee18da7632 Save autodetect_enable 2013-12-12 22:14:10 +01:00
twinaphex eacc193d74 (GX) Rewrite audio interleaving
(GX) Make menu_binds variable Wii-only for now
(Menu) Add toggleable autodetect_enable for input
2013-12-12 22:10:11 +01:00
twinaphex 21ae4c24af (Wii) Menu now takes input again from Gamecube pad, Wiimote, Wiimote + Classic
and Nunchuk
2013-12-12 20:50:42 +01:00
Themaister d21046ace8 Add keyboard layout support to udev.
Adds input_keyboard_layout setting.
2013-12-08 16:05:05 +01:00
twinaphex cc7cda7252 (iOS) Skeleton camera driver 2013-12-01 14:41:18 +01:00
twinaphex de1bae69c9 (Android) Add skeleton camera driver 2013-11-17 19:47:37 +01:00
twinaphex 683c6432cd Add camera_device to retroarch.cfg 2013-11-16 03:28:45 +01:00
Squarepusher 4ab77e8405 Merge pull request #385 from libretro/webcam-test
Emscripten webcam driver
2013-11-13 01:25:19 -08:00
ToadKing aaff8f2648 move prototype camera interface to libretro interface - GL texture only for now 2013-11-12 19:48:36 -05:00
twinaphex aec049c803 (OSK) Refactor - (Onscreen Keyboard) - PS3-only backend for now -
I will make an overlay-based backend soon too for all other platforms
2013-11-13 00:27:31 +01:00
twinaphex f8d44c6e60 (Camera) Add camera driver init/deinit when HAVE_CAMERA is defined 2013-11-11 14:26:57 +01:00
twinaphex 82f548a969 Refactor out settings_set 2013-11-11 12:56:38 +01:00
twinaphex 7420012721 (RARCH_CONSOLE) Remove unneeded variables from default_paths 2013-11-11 10:37:39 +01:00
twinaphex f8c37fc933 (Menu) Simplify menu preprocessor conditionals - there is now
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
twinaphex da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex c6aebe7211 (Rmenu_disp) Now loads rgui_show_start_screen from config file -
stops nagging of startup help message
2013-11-07 21:25:04 +01:00
twinaphex 1bdaf62be1 Move some more default settings to config.def.h 2013-10-31 02:34:49 +01:00
twinaphex 32acec4ab9 (Android) Default libretro path directory 2013-10-30 23:50:19 +01:00
twinaphex 229dbf9cb2 Move some more default settings to config.def.h 2013-10-30 13:58:35 +01:00
Themaister f0f1b5ded6 Style nits and build fix. 2013-10-30 12:52:44 +01:00
twinaphex ae896fbd79 Move some default values for settings over to config.def.h 2013-10-30 12:45:46 +01:00
twinaphex 1cb18daa50 (Info files) Set default directories for info files on iOS/QNX 2013-10-30 02:28:30 +01:00
twinaphex ffdb4a5b08 (RGUI/RMenu) Should save SRAM Autosave now 2013-10-23 13:54:35 +02:00
twinaphex d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister 1908c4cd38 Set default info file path for Android. 2013-10-14 22:28:59 +02:00
twinaphex f395fcf3db Should save audio mute and state slot in RGUI now too 2013-10-11 01:31:08 +02:00
twinaphex 310f404747 Get rid of MODE_INFO_DRAW 2013-10-11 01:28:26 +02:00
twinaphex 849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
twinaphex a35e708335 (core_info) Can now set core info directory from RGUI 2013-10-11 00:36:08 +02:00
twinaphex 549ce2bb6c Add seperate directory for libretro core info files (needed for
Android)
2013-10-11 00:18:11 +02:00
twinaphex 91d0c5b95a (RARCH_CONSOL) Get rid of more console config loading legacy code 2013-10-07 01:00:25 +00:00
Themaister 3b97cdfdac Add threaded video option. 2013-10-06 17:23:49 +02:00
Themaister 30af7fb0fc Remove debugging message. 2013-10-06 16:53:44 +02:00
Themaister 9c5c7e6292 Fix broken save_keybind_hat. 2013-10-06 16:51:50 +02:00
twinaphex abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
Squarepusher 3d386286e7 Merge pull request #324 from libretro/initcommands
Implement an idea for a start screen.
2013-10-05 05:38:32 -07:00
Themaister cf7232160b Only show start screen if rgui_show_start_screen is set.
Default to true, and set to false on first time.
2013-10-05 11:11:43 +02:00
Themaister 9e67406c40 Use skeleton config as basis for new configs. 2013-10-04 15:38:57 +02:00
Themaister 7f299274df Don't try to load skeleton config.
Breaks RGUI since it's usually read-only.
2013-10-01 12:21:58 +02:00
Themaister 57cbbde420 Create a default config file if it doesn't exist. 2013-10-01 11:57:07 +02:00
twinaphex 0c5a47bc63 Remove config_save_keybinds 2013-09-30 21:51:41 +02:00
pinumbernumber aad8f0f65c Save fullscreen or not on exit 2013-09-30 19:53:53 +01:00
Themaister 7229142e57 Display current keybind in RGUI. 2013-09-30 18:27:35 +02:00
Themaister b4a648ca8a Merge branch 'master' of github.com:libretro/RetroArch into inputconfig
Conflicts:
	frontend/menu/menu_common.h
	frontend/menu/rgui.c
2013-09-30 17:50:05 +02:00
twinaphex c95689e8f0 (RMenu XUI) Add more HAVE_RMENU_XUI ifdefs 2013-09-29 21:45:50 +02:00
Themaister f1bfaaf420 Allow to customize all. 2013-09-29 19:37:48 +02:00
Themaister dad5e347d8 Start adding joypad config. 2013-09-29 17:58:46 +02:00
twinaphex a3559645b2 (RMenu) Get rid of RMenu frame advance - we will use RetroArch's
frame advance functionality from now on - this hacky stuff can go
2013-09-29 03:36:51 +02:00
twinaphex 9964856cce Fix warnings in settings.c ( reported by SNC compiler) 2013-09-27 18:30:27 +02:00
Themaister 9b0d1037da Build fix. 2013-09-27 00:20:25 +02:00
Themaister 9bf6811acd Also save joypad driver. 2013-09-27 00:19:03 +02:00
Themaister 426e09398c Also save some driver settings. 2013-09-27 00:19:03 +02:00
Themaister 4bb1e387b5 Save autoconfig dir to config. 2013-09-27 00:19:03 +02:00
Themaister a9503f8b5a Save game history path to config. 2013-09-27 00:19:03 +02:00
Themaister 8238ba7d50 Allow saving new config files directly from RGUI.
The file name is inferred to avoid typing.
2013-09-27 00:19:03 +02:00
Themaister c403438440 Set default save/state dirs properly in config_set_defaults(). 2013-09-27 00:19:03 +02:00
Themaister ce6de72181 Some cleanups in settings saving/load defaults. 2013-09-27 00:18:17 +02:00
Themaister 841d8fa8e1 Add video_rotation.
Replaces g_extern.console.screen.orientation.
Rotation semantics have slightly changed to be more composable.
The rotation is now video_rotation + rotation set by cores themselves
(if allowed).

The config is now also saved properly.
2013-09-22 11:45:04 +02:00
Themaister 086caef070 Add input_libretro_device_pN setting.
Allows input device type to be saved in a config, which tremendously helps usability
for PlayStation 1 cores.
2013-09-22 11:09:14 +02:00
twinaphex a565f792a4 Video fullscreen toggle - mutation of g_settings now done through
settings_set
2013-09-19 12:41:02 +02:00
twinaphex 1fc1014448 More g_settings manipulation moved over to set_settings 2013-09-19 12:24:12 +02:00
twinaphex 81280896ed Move more g_settings manipulation to settings.c (settings_set) 2013-09-19 11:38:12 +02:00
Themaister 8707c4c648 Add screenshot directory option to RGUI. 2013-09-16 23:30:42 +02:00
Themaister 815cf1f35c Add GPU screenshots option. 2013-09-16 23:12:34 +02:00
Hans-Kristian Arntzen 7d90ff4011 Merge pull request #303 from libretro/emscripten
Emscripten/Javascript port
2013-09-11 01:01:29 -07:00
ToadKing a09dda3a9d [EMSCRIPTEN] add custom input driver, removes SDL dependency + adds mouse support 2013-09-10 20:21:48 -04:00
pinumbernumber 14f3d11dc2 Save input_playern_joypad_index on exit 2013-09-03 13:30:25 +01:00
Themaister a6268692b6 Add window scale x/y and crop overscan options. 2013-09-01 13:48:43 +02:00
Themaister b2bf3c12de Add swap_interval support.
Again, mostly useful for 120Hz monitors, and/or playing content which is
a fraction of monitor refresh rate.
2013-09-01 13:20:10 +02:00
Themaister 62c34c7871 Add black_frame_insertion support for 120 Hz monitors. 2013-08-30 09:35:13 +02:00
ToadKing 04be8cbee2 new audio core, RWebAudio. Glitchy, but works well, even with requestAnimationFrame callbacks 2013-08-28 00:03:25 -04:00
Themaister 73cb566620 "Revert" audio buffer behavior on Android.
Add audio_block_frames setting (only used by OpenSL atm).
2013-08-24 12:04:47 +02:00
Themaister 8614c349f3 Use correct overlay configs.
Saves input_overlay as well on exit.
2013-08-18 14:00:18 +02:00
Themaister 9e4cee5b30 Add support for fast forward frame limiting. 2013-08-11 01:09:10 +02:00
twinaphex b33d4d29d2 (Android) Standardize overlays and shaders directories for Android - now uses
the same named directories as iOS/Blackberry ports - lower-case folders (overlays and shaders_glsl)
2013-08-10 18:45:19 +02:00
Themaister 4443201dc9 Use data dir and not cache dir.
Cache dir is volatile and can be cleaned out by OS at any minute.
2013-08-02 01:20:53 +02:00
twinaphex f7622d3294 Add OMAP graphics driver (Tobias Jakobi) 2013-07-28 18:37:31 +02:00
meancoot 78acc25931 (Apple) Add keyboard input support for OSX 2013-07-07 16:01:58 -04:00
Themaister bb3bac7e0d Fix ROM history being deleted when ROM includes ;.
Using ';' as a delimiter in history file was a mistake as it breaks
when files have this file included. Instead, split on newline.

To avoid reading broken history files, the history file path is
changed.

Also add game_history_path/size to config.
2013-06-09 22:24:30 +02:00
Themaister 75421c5efa Save refresh rate on exit. 2013-06-07 14:38:37 +02:00
Themaister b0b6e65ab6 Add monitor refresh rate monitor in RGUI.
Doesn't support updating refresh rate setting yet.
2013-06-07 14:10:42 +02:00
twinaphex 2bcc1a5b6e Set custom viewport to preinitialized default values for all
platforms
2013-06-04 14:44:25 +02:00
twinaphex f03dc4cb62 Cleanups 2013-06-03 00:44:09 +02:00
twinaphex a71a6a4749 (RMenu/RGUI) Console changes - menu should always run with vsync on +
remove video throttle option
2013-06-02 23:29:28 +02:00
Themaister 062cdaefc1 Save video_shader_dir. 2013-06-01 12:42:38 +02:00
twinaphex e8cddd9191 (Android/iOS/Blackberry) Add default shader dir for Blackberry/iOS/Android 2013-05-29 13:29:48 +02:00
Themaister 70e99c30ab Style nits. 2013-05-28 09:43:13 +02:00
Yohann Bianchi cdfa97a41e Fixes issues pointed by Themaister
configure option is now --global-config-dir
2013-05-28 01:59:06 +02:00
Yohann Bianchi 937b112e71 Adds --config-dir option in configure script to let the user set a custom path for system wide config file 2013-05-27 17:58:59 +02:00
Themaister 43a6346d26 Adds video_hard_sync_frames.
Allows to control the maximum amount of frames that can be queued on
GPU.
2013-05-26 13:43:24 +02:00
twinaphex 830a217aef (Android) Set default overlay path for Android 2013-05-25 18:10:52 +02:00
twinaphex ce376ef7ea (QNX/iOS) Set default overlay directory for iOS and Blackberry QNX -
note - what to do on Android with /data/data/org.retroarch/cache/Overlays?
Can't seem to access or do anything wih this path on a Galaxy S3
2013-05-25 18:08:42 +02:00
Themaister 5d65f528d7 Save hard sync option. 2013-05-25 11:07:49 +02:00
Themaister 0574ae0eb0 Load aspect_ratio_idx outside consoles. 2013-05-25 11:06:40 +02:00
twinaphex 1abc1b40a6 save overlay opacity/scale to config file 2013-05-24 18:35:48 +02:00
Themaister c7108383c2 Save integer scale option. Fix aspect_ratio save.
Don't save g_extern aspect ratio as it doesn't correspond to
video_aspect_ratio.
2013-05-24 16:24:49 +02:00
twinaphex 0977917837 (RGUI) Overlay directory path can now be set (and setting will be
saved)
2013-05-22 22:31:16 +02:00
twinaphex 79ea30f54f Introduce config_save_on_exit 2013-05-22 15:35:28 +02:00
Themaister a66fdf8b5f Style nits. 2013-05-21 08:46:51 +02:00
ToadKing 1ef1960ad1 Allow saving "empty" directories in config file
"default" gets translated to either ROM directory or platform-default directory, depending on the setting
2013-05-20 22:18:34 -04:00
twinaphex 69e2bbd57e (RGUI) Add Overlay Scale option - when downscaling, doesn't seem to
update the hitboxes
2013-05-17 23:37:48 +02:00
twinaphex 921932f8d2 (Android) Fix build 2013-05-12 00:56:39 +02:00
twinaphex 50b9248624 (QNX/BB) Save config file at exit - compile in config_save_file
for all targets from now on
2013-05-11 02:19:09 +02:00
Themaister 24b702ab70 Should fix autoconfig bug when joypad index > 0. 2013-05-06 16:24:13 +02:00
twinaphex 9c3d943600 (RGUI/RMenu) Get rid of SRAM/Savestate dir enable - obsolete now 2013-05-05 16:02:57 +02:00
Themaister b323640d7c Make joypad driver configurable. 2013-05-04 10:24:15 +02:00
Themaister 741ed2cc03 Add experimental video_hard_sync. 2013-05-03 14:04:29 +02:00
Themaister 12bb089f63 Update to 0.9.9-wip2. 2013-05-01 12:50:40 +02:00
twinaphex 6cee86c768 (RMenu) Get rid of main_wrap savestate_dir/sram_dir 2013-04-29 05:44:32 +02:00
Themaister 4b6cca9551 Log default config path used. 2013-04-28 23:27:38 +02:00
Themaister f0f925915d Use fill_pathname_join() for default config. 2013-04-28 23:19:51 +02:00
Themaister afdb661f21 Use a safer way to get default config. 2013-04-28 23:16:33 +02:00
Themaister 5293f0e1fc Begin intergrating ROM history. 2013-04-28 01:47:20 +02:00
Themaister 901516d283 Load history. 2013-04-28 01:44:39 +02:00
Themaister cca7fce89c Add joypad autoconfig support. 2013-04-26 14:48:48 +02:00
Themaister 42a9e46cb2 Input config refactor.
Move LUTs to input_common.c. Make LUTs public.
2013-04-26 11:44:54 +02:00
Themaister 488cdc18a1 Refactor input config load and saving.
Avoid very large structs (with tons of redundancy). Decouple prefixing from binds
to allow autoconfig later.
2013-04-26 11:08:51 +02:00
Themaister 7120e5842d Add integer scale to RGUI. 2013-04-20 11:48:26 +02:00
Themaister be01a0ea59 Refactor aspect ratio handling.
Rework aspect ratio handling in RGUI.
Custom viewports work on PC. Ensure that aspect_ratio_idx persist
through reentrancy. Change ASPECT_RATIO_AUTO to ASPECT_RATIO_SQUARE to
better signal that it's the square pixel option.

Add ASPECT_RATIO_CONFIG as an option to use config file defined aspect
ratio.
2013-04-20 10:56:04 +02:00
twinaphex 96f2ecce20 (RMenu/RGUI) Move filebrowser/menu stack initialization to upper-layer
menu_init() function
2013-04-18 18:33:03 +02:00
Themaister fa5e8b646c Preserve sram/state dir on reentrancy. 2013-04-16 12:22:27 +02:00
Themaister 882b7ee889 Remove references to audio_rate_step.
Not used anymore.
2013-04-14 13:21:12 +02:00
twinaphex 53d5678b85 (RMenu) Take out RMENU_LOW_RAM_MODE 2013-04-13 16:32:40 +02:00
twinaphex 1eadb9fcab Cleanups 2013-04-13 09:16:23 +02:00
twinaphex c51347c532 Drop MODE_VIDEO_SCREENSHOTS_ENABLE 2013-04-13 09:09:56 +02:00
twinaphex 43c9195a77 Get rid of rarch_position_t structure and move RMenu texture to
rmenu.c instead of somewhere in g_extern global
2013-04-10 04:26:18 +02:00
twinaphex 4102d1cfb8 Make sinc resampler the default and remove Hermite - audio
quality at high samplerates was too bad to be of any use
2013-04-07 03:41:06 +02:00
twinaphex 15eba51b22 (PS3) Get it at least compiling 2013-04-07 02:34:41 +02:00
Themaister 4a8b3599bc Refactor out cg_shader_path, xml_shader_path.
Make shader paths uniform in shader_path.
2013-04-07 01:46:06 +02:00
twinaphex 909122122d Take out obsolete console-style overscan options - just use
Resize Mode instead
2013-04-07 01:23:10 +02:00
Themaister 17a6068f89 Fix typo. 2013-04-07 00:13:50 +02:00
Themaister d399088e17 Don't add redundant checking.
config_file_t doesn't overwrite buffer if config
is not found.
2013-04-07 00:01:16 +02:00
twinaphex cc05981455 (PS3/360) Now uses embedded shaders instead of stock shader from
common-shaders
2013-04-06 21:53:03 +02:00
twinaphex eb0feac9e3 (PS3/All) Purge fixed-style shaders again - this time avoiding
breakage on PS3. Maister -you will need to redo shader_parse.c
again though - and this time I need to test it on PS3 to avoid
a regression that happened two pages prior again
2013-04-06 05:46:09 +02:00
twinaphex 58b6de008b Revert "Purge fixed-style second_pass_shader."
This reverts commit 160bbf0218.
2013-04-06 03:54:38 +02:00
Themaister 160bbf0218 Purge fixed-style second_pass_shader. 2013-04-06 00:03:28 +02:00
Themaister 77164d18ca Begin adding core options interface. 2013-04-04 13:58:30 +02:00
Themaister 3b392dfcd6 Rename bsnes_shader_path to xml_shader_path. 2013-04-02 22:40:26 +02:00
Themaister 292bc36b43 Basic mouse grabbing for X11. 2013-03-29 18:55:54 +01:00
twinaphex 426b3a255d Revert "(PS3) Add third-pass shaders (ifdeffed for PS3 for now - could" -
going to do this better

This reverts commit 8b4e6bed93.
2013-03-29 01:55:08 +01:00
twinaphex 8b4e6bed93 (PS3) Add third-pass shaders (ifdeffed for PS3 for now - could
be added to PC as well)
2013-03-28 20:59:49 +01:00
twinaphex 6d8871c76c Combine menu_settings_set and menu_settings_set_default and
move to settings.c
2013-03-23 17:21:42 +01:00
twinaphex 7465b25483 block_config_read is set to true in config_set_defaults 2013-03-22 17:01:59 +01:00
CatalystG be9a8e63f4 Add input driver for QNX. Copy null driver for now.
Conflicts:
	griffin/griffin.c
2013-03-19 19:26:36 -04:00
Themaister 51b5a2df5c Refactor aspect_ratio member.
Mutate in g_extern.system.aspect_ratio to avoid
getting wrong aspect ratio on reentrancy.
2013-03-17 22:05:15 +01:00
Themaister aa24755956 Make initial RGUI directory configurable. 2013-03-17 21:39:28 +01:00
Hans-Kristian Arntzen 2dde412d64 Fix settings.c derp 2013-03-16 21:49:45 +01:00
Hans-Kristian Arntzen 4975ea35fe Fix assertion trip in settings.c. 2013-03-16 21:45:34 +01:00
twinaphex d67e4da4db Revert "Can't have hardcoded binds structs for 8 players"
This reverts commit 2579af2764.
2013-03-16 17:51:28 +01:00
twinaphex 2579af2764 Can't have hardcoded binds structs for 8 players 2013-03-16 17:33:18 +01:00
Themaister 2be53ac0f9 Add MENU_TOGGLE bind config. 2013-03-16 12:21:16 +01:00
meancoot 9fadca2a54 Merge branch 'master' of https://github.com/Themaister/RetroArch into ios 2013-03-09 20:09:32 -05:00
twinaphex 66e7606b25 HAVE_RGUI and HAVE_RMENU are now mutually exclusive - no longer
have to be defined both for (say) the Android port
2013-03-09 17:42:19 +01:00
twinaphex e7f206be79 Revert "Move rmenu_settings.c to settings.c + add header file"
This reverts commit b827075d55.
2013-03-09 17:09:40 +01:00
twinaphex b827075d55 Move rmenu_settings.c to settings.c + add header file 2013-03-09 17:00:52 +01:00
Themaister 272ef70895 Merge branch 'master' into cd-swap 2013-03-09 09:27:14 +01:00
twinaphex 6899434609 (Android) Add back button behavior option 2013-03-07 15:21:17 +01:00
meancoot e8e822ffc3 Merge branch 'master' of https://github.com/Themaister/RetroArch into ios
Conflicts:
	gfx/gfx_context.c
	gfx/gfx_context.h
	retroarch.c
2013-03-03 21:36:47 -05:00
Themaister 7fadee0da3 Let $XDG_CONFIG_HOME fallback to $HOME/.config.
Use the specification more correctly. Keep fallback to
$HOME/.retroarch.cfg.
2013-02-26 18:46:07 +01:00
Themaister 0d1d275227 Merge branch 'master' into cd-swap 2013-02-23 14:50:33 +01:00
Themaister eb0476ffab Add configurable GL context. 2013-02-23 14:50:18 +01:00
meancoot 06bb6b7840 Merge branch 'master' of https://github.com/Themaister/RetroArch into ios 2013-02-21 22:18:14 -05:00
Themaister e3dfba2c34 Add preliminary disk swapping interface.
Works with Mednafen's disk swapping model.
2013-02-21 23:44:07 +01:00
Squarepusher bd4d97337c Merge pull request #139 from Themaister/thread_video
Threaded video driver
2013-02-19 14:17:00 -08:00
Themaister 8f046a790b Move Android ifdef outside RARCH_CONSOLE. 2013-02-17 22:30:04 +01:00
twinaphex 3fe68149a6 (RMenu) Improve Low RAM mode for RMenu 2013-02-17 22:01:08 +01:00
twinaphex 0357f1510c (RMenu) Add low RAM mode 2013-02-17 20:23:27 +01:00
Themaister 843d079002 Begin adding threaded video driver wrapper. 2013-02-16 02:48:08 +01:00
meancoot 19fb2fe8f4 Merge branch 'master' of https://github.com/Themaister/RetroArch into ios 2013-02-11 17:13:31 -05:00
twinaphex fa582bf15e (Android) Add ICade profile option 2013-02-09 11:44:50 +01:00
twinaphex 2ed42b848d (GX) Set GX to 4:3 aspect ratio by default when there is no libretro.cfg 2013-02-09 08:30:25 +01:00
Themaister 19f487b765 Set default resampler explicitly. 2013-02-08 14:50:14 +01:00
twinaphex 2f7b3bf781 (RARCH_CONSOLE) audio_resampler will be saved to config file too 2013-02-08 13:55:58 +01:00
Themaister d33d2e9f0c Make resamplers more modular. 2013-02-08 11:49:51 +01:00
meancoot 7e4e028fc8 ios: Add a simple input driver draft; tracks only one touch for now. 2013-02-06 18:23:11 -05:00
twinaphex 1dfd9f8662 (RARCH_CONSOLE) Don't recycle lifecycle_mode_state anymore 2013-02-02 17:22:43 +01:00
ToadKing 7967086058 (Android) set opacity overlay 2013-02-01 20:29:42 -05:00
twinaphex a88f1c3dce (RMenu/PS3) Saves 'menu_path_texture' now to config 2013-02-01 09:13:29 +01:00
Themaister 61707d2783 Add integer scale options. 2013-01-29 19:28:33 +01:00
Themaister 6f8190ea0b Add savestate_auto_load option. 2013-01-24 19:24:40 +01:00
twinaphex cc8c765190 (360/PS3) Set aspect ratio to 16:9 by default 2013-01-23 18:43:00 +01:00
twinaphex 858a21f87a (360) Correctly initialize fbo_scale_x/fbo_scale_y 2013-01-22 16:30:35 +01:00
twinaphex 905c3f98d8 (RARCH_CONSOLE) Don't require a config file to be present on
consoles
2013-01-22 15:10:15 +01:00
twinaphex 8efc01b321 (RARCH_CONSOLE) Use new unzip code and remove console-centric
stuff
2013-01-22 00:14:24 +01:00
Themaister 737627dfac Clarify that config is loaded from default loc. 2013-01-20 12:45:34 +01:00
twinaphex 5d33861c8b (RMenu) Add rewind_granularity option 2013-01-19 08:54:39 +01:00
twinaphex 4f53bd4ca0 (RARCH_CONSOLE) Change config_get_string to config_get_path 2013-01-13 16:31:34 +01:00
twinaphex 15cbab4876 (RARCH_CONSOLE) Add new Unzip mode : Unzip, Load First File, Then Delete
- tested first on PS3
2013-01-13 07:12:21 +01:00
twinaphex f001938b2e (RMenu) Default filebrowser startup dir fixed now 2013-01-13 04:57:25 +01:00
twinaphex ae9a1167b7 (RARCH_CONSOLE) Refactored sram_dir_enable / state_dir_enable setting -
also fixed a reentrant bug to do with set savestate dir/set sram dir
boolean variables in parse_input
2013-01-13 04:12:10 +01:00
twinaphex 04cacb5e30 Upgrade lifecycle_menu_state to 64bit variable lifecycle_mode_state 2013-01-12 03:13:03 +01:00
twinaphex ba51ff51f7 (RARCH_CONSOLE) Refactored zip_extract variable 2013-01-12 02:35:40 +01:00
twinaphex f21c998cc7 Change font_size to float 2013-01-11 23:00:51 +01:00