Commit Graph

383 Commits

Author SHA1 Message Date
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
radius
a0fe04ead5 cleaner implementation of save file / save state sorting 2015-10-19 19:55:41 -05:00
twinaphex
3fb709ef4c Remove unused variable 2015-10-03 22:05:59 +02:00
radius
1f52b81a28 add screenshot dir 2015-10-03 11:24:17 -05:00
radius
13f2cce9a1 check for default dirs after loading config 2015-10-03 11:10:36 -05:00
radius
8556fe08f5 fix some nits 2015-10-03 11:10:00 -05:00
twinaphex
5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex
3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
Twinaphex
4784371a90 Revert "[WIP] don't create default folders if other folders are set already" 2015-09-17 22:05:14 +02:00
Jorge Suarez
978205c8c0 [all] verify if paths are already configured before creating defaults 2015-09-17 15:00:47 -05:00
Jorge Suarez
6aad439160 [all] verify if paths are already configured before creating defaults 2015-09-17 14:59:39 -05:00
Alcaro
9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
twinaphex
f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex
fdd1d3ee9f Pass sleep_ms argument to rarch_main_iterate 2015-08-27 14:52:02 +02:00
twinaphex
4b0ee4b9c2 Move rarch_sleep outside of rarch_main_iterate so that caller
can implement the idle step itself
2015-08-27 13:13:14 +02:00
Twinaphex
f87425ef9a Re-enable UI Companion Start on Boot again 2015-08-23 09:20:24 +02:00
twinaphex
65aa759ab8 (iOS) There's currently a problem with enabling the UI companion
driver at startup to boot, so launch into GLUI/RGUI mode first
and allow the user himself to switch to CocoaTouch mode
2015-08-06 08:57:20 +02:00
Twinaphex
1faa62e902 Remove two unused variables 2015-07-27 17:22:43 +02:00
twinaphex
a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
radius
4b234a4ed9 clean-up System/BIOS in content dir, should now just use the basename instead of actually overwriting the setting 2015-07-26 16:23:41 -05:00
radius
a06dd9c3a2 fix system dir resetting on each startup 2015-07-17 02:53:59 -05:00
radius
b717828cf0 fix setting and clearing system directory when using content dir 2015-07-16 01:46:11 -05:00
radius
48068f147a same as the previous commit but when the user exits without unloading content 2015-07-12 02:35:28 -05:00
radius
06f656004b make system directory restore correctly when closing content in case it was set to content dir 2015-07-12 02:35:27 -05:00
twinaphex
362d8025d8 Add g_defaults.core_assets_dir 2015-07-04 04:47:14 +02:00
twinaphex
1efaaab53d (main_exit) Don't set shutdown to false 2015-06-25 14:54:40 +02:00
twinaphex
f5dbf50ebc (frontend.c) Use rarch_system_info_get_ptr 2015-06-25 13:38:46 +02:00
twinaphex
6ee5029bb0 (android_input.c) Use rarch_system_info_get_ptr 2015-06-25 13:20:53 +02:00
twinaphex
42fcb4490c Change signature of rarch_system_info_get_ptr 2015-06-25 12:36:55 +02:00
twinaphex
850d6b0274 (frontend.c) Use rarch_system_info_get_ptr 2015-06-25 11:06:02 +02:00
twinaphex
6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
twinaphex
b70c1c134f (Android) Cleanups 2015-06-12 23:32:23 +02:00
twinaphex
29e3f5ff66 Expand playlist format - rename it to 'lpl' 2015-06-08 23:38:03 +02:00
Twinaphex
99099c34ef Fix two serious warnings 2015-05-26 09:06:53 +02:00
radius
51dad5c922 make sure to reset paths when exiting too 2015-05-25 20:54:51 -05:00
radius
cc5b069494 make sure to reset paths when exiting too 2015-05-25 20:54:00 -05:00
twinaphex
8fb8887c34 Create new playlist format 2015-05-26 00:12:49 +02:00
twinaphex
74ee699d5c Split up rarch_main_data_iterate outside of rarch_main_iterate 2015-05-16 17:00:50 +02:00
twinaphex
14505cc222 Create new rarch_main signature 2015-04-20 21:31:25 +02:00
twinaphex
4e187ad642 Refactor around HAVE_MAIN and do away with HAVE_MAIN_LOOP 2015-04-20 21:12:39 +02:00
twinaphex
5d24c75925 Create HAVE_MAIN define 2015-04-20 21:10:01 +02:00
twinaphex
445bf04892 Cleanups to rarch_main - and also fix Android platform struct 2015-04-20 20:53:17 +02:00
twinaphex
0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex
de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex
57877284ec (UI Companion) Call UI companion 'toggle' function at startup when setting is
enabled
2015-04-13 02:14:34 +02:00
twinaphex
35e3daf951 (frontend.c) Cleanup 2015-04-12 16:17:11 +02:00
twinaphex
f8a31effb0 (UI companion) Some further improvements 2015-04-12 02:09:14 +02:00
twinaphex
5a2ed01eec Create frontend_get_ptr 2015-04-08 00:08:53 +02:00
twinaphex
be13f3c8c0 (frontend.c) Style nits 2015-03-22 08:19:14 +01:00
twinaphex
a57abb74dc Rename some functions 2015-03-22 03:32:28 +01:00
twinaphex
2a8f9fdfc0 Put g_driver on heap and make it a pointer 2015-03-22 01:16:57 +01:00
twinaphex
248d985ae6 Don't call driver_get_ptr until after call to rarch_main_state_alloc
has been made
2015-03-22 00:43:10 +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
ff83aab195 Move rarch_main_state_new up 2015-03-21 19:04:20 +01:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
9f6cb1bca7 Rename settings.c to configuration.c 2015-03-21 00:42:09 +01:00
twinaphex
7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
97d8bc1488 Add cheats_dir to g_defaults 2015-03-13 00:24:17 +01:00
twinaphex
5d95d6d761 Add cursor_dir and database_dir to g_defaults 2015-02-01 12:25:20 +01:00
twinaphex
3b7dac52ef (main_load_content) Do early return if wrap_args can't be allocated 2015-01-30 07:42:58 +01:00
twinaphex
756a9bf214 (Android) Add default path for extraction_directory on Android - needed
now ever since increased limitations on SD external storage
2015-01-28 09:29:11 +01:00
twinaphex
fae8a8d8d7 Remove main_entry_decide 2015-01-11 17:48:21 +01:00
twinaphex
b53e8f6437 Create rarch_main_iterate_quit 2015-01-11 17:33:05 +01:00
twinaphex
90a32b022d Slight refinement to main_entry_decide 2015-01-11 17:10:14 +01:00
twinaphex
76c392718f Create runloop.h 2015-01-09 18:40:33 +01:00
twinaphex
99c9afa5cd Update PATH_MAX to PATH_MAX_LENGTH 2015-01-09 18:04:29 +01:00
twinaphex
ec22bada36 Add retroarch.h header 2015-01-09 17:40:47 +01:00
twinaphex
8f511815d1 Create new header 'settings.h' 2015-01-09 16:56:21 +01:00
twinaphex
2929073a42 Document frontend.c 2015-01-09 01:55:10 +01:00
twinaphex
1d45517d48 Declare variables at top 2015-01-09 01:23:58 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
Jay McCarthy
ace60b5827 Include auto save state in main_exit_save_config so that iOS users actually get auto saving 2014-12-31 15:30:28 -05:00
twinaphex
c76a293a2e Add main_exit_save_config 2014-12-31 13:22:08 +01:00
twinaphex
9ed2ba8412 [PATCH] Fix some C++ build issues. 2014-11-29 21:07:12 +01:00
twinaphex
af0d416323 Fix bug in history_playlist_push 2014-11-29 16:53:26 +01:00
twinaphex
6393badfb5 Move rarch_main_command(RARCH_HISTORY_INIT) outside of check
for history list enable
2014-11-27 09:03:15 +01:00
twinaphex
678460b5c1 Add early return to RARCH_CMD_HISTORY_INIT 2014-11-27 08:58:31 +01:00
twinaphex
df8e3dfc55 Add content history dir and change 'retroarch-history.txt' to 'retroarch-content-history.txt' 2014-11-27 08:46:30 +01:00
twinaphex
d22a2896b5 Add check for g_extern.system.no_content as well 2014-11-24 06:25:11 +01:00
twinaphex
064f23b354 Add content_is_init - set to true if content file has been loaded
into memory, set to false when it has failed in doing so
2014-11-24 06:21:52 +01:00
twinaphex
1c1297b3e6 Take out unused process_events callback from frontend_context driver 2014-11-08 16:45:55 +01:00
twinaphex
739cd59dc9 Add video_filter_dir to check_defaults_dir 2014-11-08 02:48:40 +01:00
Twinaphex
12c118ac3f Add menu_config_dir to check_defaults_dirs 2014-11-07 17:08:20 +01:00
twinaphex
ccc4b70123 don't redefine returntype macro 2014-10-22 07:22:24 +02:00
twinaphex
9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
twinaphex
42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
twinaphex
7b2deee502 Rename playlist_push to history_playlist_push 2014-10-17 04:33:44 +02:00
twinaphex
7adcbc7311 Move rarch_playlist_push to frontend.c 2014-10-17 04:32:56 +02:00
twinaphex
0f5161d621 Add History List Enable option 2014-10-17 04:17:28 +02:00
twinaphex
34915aefce Add RARCH_CMD_PERFCNT_REPORT_FRONTEND_LOG 2014-10-16 08:31:10 +02:00
twinaphex
65bc796011 Make rarch_playlist_push more useful 2014-10-11 16:46:59 +02:00
twinaphex
150539decc Take out header include in frontend.c 2014-10-08 01:08:16 +02:00
twinaphex
458eff5f4d Both the 'pause' state and the 'menu' state return 1 - so that
we can signal to the Apple upper-layer function that we want
to run CFRunLoopWakeUp
2014-10-04 14:14:45 +02:00
twinaphex
f86ad85fcd Use -1 for indicating we want to exit out of rarch_main_iterate 2014-10-04 13:41:57 +02:00
twinaphex
e79d3d1630 Change return values for rarch_main_iterate and do_state_checks 2014-10-04 13:30:09 +02:00
twinaphex
db47e069c2 Get rid of unused negative_return macro 2014-10-03 14:08:42 +02:00
twinaphex
4a623684c2 Init history file right before we attempt to push something to it
in rarch_main
2014-10-03 13:07:33 +02:00
twinaphex
e6a79f798b Refactor MODE_EXITSPAWN and MODE_EXITSPAWN_START_GAME 2014-10-02 21:39:29 +02:00
twinaphex
f273b34f73 deinit_msg_queue becomes static function - clean it up in rarch_main_state_free 2014-09-30 21:29:28 +02:00