Commit Graph

38 Commits

Author SHA1 Message Date
radius
6bb26f6acc prevent config_save_on_exit if overrides have been applied 2015-04-06 23:32:49 -05:00
radius
e71940ff34 revert saving the core_options_path since it was causing a lot of incosistencies 2015-04-06 22:31:07 -05:00
radius
70a54e6fcb make sure remap path is cleared if an auto remap file is not found 2015-04-06 21:54:59 -05:00
radius
4030a5d53a enable saving for core options 2015-04-06 20:35:37 -05:00
radius
b83f9f8811 game remaps should take precedence over core remaps 2015-04-06 20:30:47 -05:00
radius
45040cd29b fix some warnings 2015-04-06 20:22:33 -05:00
radius
1293122826 override and remap function comment cleanup
made the remap function return true/false depending on what has been done
2015-04-06 20:16:00 -05:00
radius
931c818038 clean up comments for core_load_override 2015-04-06 20:07:44 -05:00
radius
1dd32a8da4 style cleanups 2015-04-06 19:58:57 -05:00
radius
507ec17261 make the override function smarter, now it will return true if overrides have loaded and false otherwise (including on error)
move pretro_set_environment(rarch_environment_cb); further down since it wouldn't have achieved the desired effect in that location
added a function to restore the original configuration when unloading the core so overrides won't affect the main config
2015-04-06 19:54:58 -05:00
radius
1613b86a39 Merge remote-tracking branch 'upstream/master' 2015-04-05 15:43:15 -05:00
radius
dd8a45c9eb implement auto-load for remap files 2015-04-05 15:41:24 -05:00
radius
9b2ee5daaf start adding auto loading for remap files 2015-04-05 14:06:23 -05:00
Twinaphex
ce091a68cb Merge pull request #1587 from fr500/master
Override cleanups
2015-04-05 21:01:44 +02:00
radius
d4c52008a0 Add additional checks and logging 2015-04-05 13:58:59 -05:00
radius
f92aecd28b Overrides:
- renamed the function to something more suitable and cleaned up the comments a bit
- moved back !global->system.info.library_name check, this shouldn't return false, this is not an error but an early return condition
2015-04-05 13:52:43 -05:00
twinaphex
ed9ad7c9d7 (windows) Change 'winxinput' to 'xinput' 2015-04-05 20:43:24 +02:00
twinaphex
66ee038ced Style nit 2015-04-05 19:07:33 +02:00
radius
8ad303d066 readded per-game/per-core overrides, this works exactly the same as appendconfig and with the same limitations (if you append a config and config autosave is
enabled if will propagate to your main config)

Had to change the delimiter for appendconfig to "|" so users can load configs with filenames including ,
2015-04-05 11:14:24 -05:00
twinaphex
cde09349d6 configuration.c - was erroneously setting default joypad driver 2015-04-04 21:32:25 +02:00
Orkun Şensebat
10aacda225 (Game-specific configuration) Implemented silent overrides
configdir/corename/corename.cfg
configdir/corename/romname.cfg
2015-04-04 21:37:31 +02:00
twinaphex
c73377857b (iOS) Get rid of apple_ios_joypad - refactored into btstack HID driver 2015-04-04 02:09:31 +02:00
Twinaphex
db2dd5010b Merge pull request #1559 from aliaspider/master
preliminary 3DS port.
2015-04-01 23:18:12 +02:00
aliaspider
2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
twinaphex
f1533f8ebf (HID) Start refactoring the Apple HID joypad driver to be a more
general-purpose HID joypad driver
2015-04-01 20:00:38 +02:00
twinaphex
0e98a5eb70 Set pointer.enable to default value 2015-03-31 00:55:03 +02:00
aliaspider
4c025fd157 (menu) add menu_pointer_enable to config_load_file/config_save_file 2015-03-30 05:18:30 +01:00
twinaphex
7a90d232c8 Remove CONFIG_GET_INT macro 2015-03-21 08:05:50 +01:00
twinaphex
cc0fbaa113 Get rid of most of the unnecessary config file macros 2015-03-21 08:00:17 +01:00
twinaphex
0cfe669cb0 Don't reference g_settings in configuration.c 2015-03-21 07:45:45 +01:00
twinaphex
dcfc187179 (libretro-common) Remove config_file_macros.h 2015-03-21 07:39:51 +01:00
twinaphex
2409da4afe global_get_ptr update pt. 3 2015-03-21 05:55:31 +01:00
twinaphex
5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex
80840cac0c Put g_config on heap 2015-03-21 01:47:06 +01:00
twinaphex
0724617abd Make g_config a static variable and make it no longer global 2015-03-21 01:36:20 +01:00
twinaphex
45cf71770e Rename g_settings to g_config - to prevent conflicts, had to rename
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
twinaphex
20f1b0f935 (configuration.c) Cleanup some header includes 2015-03-21 01:00:02 +01:00
twinaphex
9f6cb1bca7 Rename settings.c to configuration.c 2015-03-21 00:42:09 +01:00