Commit Graph

825 Commits

Author SHA1 Message Date
twinaphex
40c64b3302 Move init_rewind to rewind.c 2015-04-11 13:36:33 +02:00
twinaphex
7f56e5c214 Move deinit_netplay to netplay.c 2015-04-11 13:31:33 +02:00
twinaphex
a150cb84bd Move init_netplay to netplay.c 2015-04-11 13:29:40 +02:00
radius
3dc163f885 revert this since it's not needed 2015-04-06 22:41:33 -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
45040cd29b fix some warnings 2015-04-06 20:22:33 -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
599d09c7ce move pretro_set_environment(rarch_environment_cb); after init_libretro_sym so core_options and libretro_path can be overriden 2015-04-06 00:01:33 -05:00
radius
dd8a45c9eb implement auto-load for remap files 2015-04-05 15:41:24 -05: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
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
31a5c4a1bf rarch_main_set_state - prevent more null pointer dereferences 2015-03-29 19:03:46 +02:00
neville
9a8a20e85a (OSX PPC) Prevent one null pointer dereference 2015-03-29 19:00:57 +02:00
twinaphex
80d8607fd2 (retroarch.c) Remove file_ops.h header include 2015-03-28 21:16:21 +01:00
twinaphex
4c40ff37c2 (Unload Core) Release system info on core unload too 2015-03-24 14:43:27 +01:00
twinaphex
ca8e38fa18 Add 'Unload Core' option 2015-03-24 14:32:42 +01:00
twinaphex
c7e78d48d5 Create runloop_data.h 2015-03-24 13:45:53 +01:00
twinaphex
ba938da348 Fixes segfault with environ SHUTDOWN with prboom 2015-03-23 23:40:36 +01:00
twinaphex
b21c3c460a Move rarch_main_data_free to RARCH_CMD_PREPARE_DUMMY 2015-03-23 06:54:39 +01:00
twinaphex
0d164162fc Create input_driver_grab_mouse 2015-03-23 04:31:11 +01:00
twinaphex
71e927020c Create input_driver_poll 2015-03-23 03:17:43 +01:00
twinaphex
dc46785c14 Create more audio wrapper functions 2015-03-23 02:44:49 +01:00
twinaphex
4a3507adc1 Create audio_driver_alive 2015-03-23 02:36:13 +01:00
twinaphex
724c809ca5 Create video_driver_apply_state_changes 2015-03-23 00:42:55 +01:00
twinaphex
636fd426f6 Create set_texture_enable wrapper function 2015-03-22 18:59:16 +01:00
twinaphex
6e91eed664 Create more wrapper functions 2015-03-22 18:48:24 +01:00
twinaphex
71dcc021a7 Create wrapper functions for video driver functions 2015-03-22 18:38:11 +01:00
twinaphex
4a46a8c5d7 Create video_driver_set_nonblock_state 2015-03-22 10:25:51 +01:00
twinaphex
3a31d67fae (retroarch.c) Style nits 2015-03-22 08:39:26 +01:00
twinaphex
b6106fc50f Cleanups 2015-03-22 07:28:45 +01:00
twinaphex
c4afb2a154 Create video_driver_has_windowed 2015-03-22 07:20:55 +01:00
twinaphex
67c8c3a5e7 Create menu_driver_toggle 2015-03-22 06:02:02 +01:00
twinaphex
4b8de58878 Rename functions 2015-03-22 03:41:20 +01:00
twinaphex
a57abb74dc Rename some functions 2015-03-22 03:32:28 +01:00
twinaphex
572b59d417 Robustness fixes 2015-03-22 00:29:30 +01:00
twinaphex
508ade73f9 Rename menu_driver_resolve to menu_driver_get_ptr 2015-03-21 23:56:42 +01:00
Twinaphex
06d643adaa (retroarch.c) Fix potential segfault in rarch_main_command 2015-03-21 23:43:00 +01:00
twinaphex
54b0125f88 Deinitialize drivers in rarch_main_state_free 2015-03-21 20:10:14 +01:00
twinaphex
7e7a42ec21 Reimplement rarch_main_state_free 2015-03-21 19:43:46 +01:00
twinaphex
83947f473b Split up rarch_main_state_new into two - rarch_main_state_alloc
allocates all state, rarch_main_state_new actually 'initializes'
the drivers, etc.
2015-03-21 19:31:38 +01:00
twinaphex
323475c516 Create RARCH_CMD_VOLUME_UP/RARCH_CMD_VOLUME_DOWN 2015-03-21 09:25:21 +01:00
twinaphex
f1fe7559bc Put g_extern on heap 2015-03-21 06:17:03 +01:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
533c5c0eb1 Create rarch_main_global_init/rarch_main_global_deinit 2015-03-21 01:53:14 +01:00
twinaphex
80840cac0c Put g_config on heap 2015-03-21 01:47:06 +01:00
twinaphex
a66c72e875 Get rid of g_config references in retroarch.c 2015-03-21 01:32:57 +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
5900492aeb (retroarch.c) Cleanups 2015-03-21 01:05:32 +01:00