Commit Graph

317 Commits

Author SHA1 Message Date
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
twinaphex
9daad8bdb8 Split up rarch_main_clear_state into two functions - rarch_main_state_new
and rarch_main_state_free
2014-09-30 20:46:15 +02:00
twinaphex
3c8cc513ab Make it possible to compile without menu support again 2014-09-28 18:01:59 +02:00
twinaphex
3bfa247770 (frontend.c) cleanups 2014-09-28 17:35:58 +02:00
twinaphex
94de11b060 Add resampler directory setting 2014-09-27 15:55:55 +02:00
twinaphex
7b49e072ff Get rid of unnecessary function main_entry_iterate_shutdown 2014-09-24 08:33:43 +02:00
Twinaphex
6353240af4 Get rid of unused variables 2014-09-21 18:02:23 +02:00
twinaphex
430e0f1911 Reimplement rarch_main_iterate - menu iteration frame now gets
called from here too. Do away with the hoky 'MENU_GAME' state
as well.
2014-09-21 09:18:26 +02:00
twinaphex
ff9a16d407 Refactor main entry iteration function 2014-09-21 08:05:35 +02:00
twinaphex
bdf9df6c2e Clean up more code in frontend.c 2014-09-21 07:39:17 +02:00
twinaphex
29aed58e4e Refactor MODE_LOAD_GAME 2014-09-21 06:50:10 +02:00
twinaphex
7056c9ca39 Refactor MENU_CLEAR_INPUT 2014-09-21 06:41:47 +02:00
twinaphex
9dc35b056f Refactor MODE_MENU_PREINIT code 2014-09-21 06:33:49 +02:00
twinaphex
92938fe45f Optimizations - prevent static bools everywhere in check_* functions
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex
310438f15b Refactor away input_key_pressed_func 2014-09-17 00:29:47 +02:00
Higor Eurípedes
e15c683b44 (frontend.c) Fix include 2014-09-15 17:48:11 -03:00
Higor Eurípedes
b6dd4df368 (frontend) Add support for frontend specific video drivers 2014-09-15 16:48:55 -03:00
Higor Eurípedes
83b6aeb6cc Fix C++ build linkage 2014-09-15 13:14:19 -03:00
twinaphex
89676e8424 Add Playlist Directory path setting 2014-09-15 04:12:41 +02:00
twinaphex
aae73438de Simplify frontend.c entry functions 2014-09-14 16:36:15 +02:00
twinaphex
2284395c4d Get rid of frontend_loop 2014-09-14 16:29:09 +02:00
Twinaphex
cb1eea1ec2 Add logging to main_entry_decide 2014-09-14 16:08:28 +02:00
twinaphex
fe49a0fe40 Some control flow changes 2014-09-14 15:32:32 +02:00
twinaphex
e9c865f56a Create main_entry_decide to delegate decisionmaking process of
what to bind frontend_loop to
2014-09-14 15:23:40 +02:00
Lioncash
64272ef327 Squash some more potential null pointer dereferences 2014-09-11 23:04:02 -04:00
twinaphex
2c61fdcc7f (Menu) Refactor away load_menu_content_prepare 2014-09-06 21:52:44 +02:00
twinaphex
fdbe3337c2 Take out some unnecessary includes 2014-09-06 21:52:44 +02:00
twinaphex
24500dfeb5 (Android) Build fixes 2014-09-06 03:39:37 +02:00
twinaphex
125f256c5e (Menu) Refactor menu_content_history_push_current 2014-09-05 19:56:23 +02:00
twinaphex
1111bd2f6d (Menu) Move early return when core is a dummy to menu_history_push_current
function
2014-09-05 18:21:03 +02:00
twinaphex
e4681e0013 Make it possible to compile without HAVE_MENU defined 2014-09-05 18:14:00 +02:00
twinaphex
a66b16c862 (frontend.c) Cleanup non-HAVE_MENU codepath 2014-09-05 18:05:46 +02:00
twinaphex
4569b4f32c Refine frontend_loop some more 2014-09-05 16:34:37 +02:00
twinaphex
1426e705c9 (Frontend) Go through frontend_loop function pointer 2014-09-05 16:08:03 +02:00
twinaphex
f495170f3a (frontend.c) Cleanups 2014-09-05 06:08:48 +02:00
twinaphex
ca1066d60e Refactor CLEAR_INPUT 2014-09-05 05:57:27 +02:00
twinaphex
d539bed82c Hide more manipulation of lifecycle_state behind rarch_main_set_state
function
2014-09-03 18:36:46 +02:00
twinaphex
ba8f817587 (Frontend) Go through rarch_main_command 2014-09-03 17:01:06 +02:00
twinaphex
bc611b8cc1 (Menu) Add MENU_FILE_PLAYLIST_ENTRY 2014-09-02 23:42:40 +02:00
twinaphex
76591ecc9f (frontend.c) build fix - missing return statement 2014-09-02 17:24:52 +02:00
twinaphex
af3e648a42 (frontend.c) Get rid of some extraneous elses in frontend.c 2014-09-02 17:13:43 +02:00
twinaphex
4a2d3cbd4b Cleanups - 80-char limit 2014-09-02 05:32:04 +02:00
twinaphex
e6472b5a72 Move MAX_ARGS define to frontend.c 2014-08-27 01:08:29 +02:00
twinaphex
51637bc69e Code reformatting to abide by 80-character limit 2014-08-20 16:26:34 +02:00
twinaphex
c706644c05 (Menu) Go through RARCH_CMD_VIDEO_SET_BLOCKING_STATE 2014-08-16 18:49:06 +02:00
twinaphex
823be1ce41 Get rid of more driver_funcs macros 2014-08-15 20:51:59 +02:00
twinaphex
2cb8d06c7a Move config_save_on_exit to g_settings 2014-08-12 03:36:26 +02:00
twinaphex
30db4df19e Rename more references to 'ROMs' 2014-08-12 03:22:44 +02:00
twinaphex
91bad2b25d (PS3) Build fixes 2014-08-09 03:25:11 +02:00
twinaphex
901b5361fd Build fix 2014-08-03 02:44:21 +02:00
twinaphex
675b8370e3 Refactor main_load_content 2014-08-03 02:09:41 +02:00
twinaphex
1ce72b3859 (Android) Fix build 2014-08-03 00:00:41 +02:00
twinaphex
3e8715c3f3 Cleanup main_entry_iterate_load_content 2014-08-02 19:00:34 +02:00
twinaphex
671be27367 Move code to load_menu_content 2014-08-02 18:41:43 +02:00
twinaphex
d376fbe8c4 Cleanups 2014-08-02 13:50:56 +02:00
twinaphex
53ae4cd72c Refactor audio stop/start 2014-08-02 12:08:53 +02:00
twinaphex
6a0c3ff25d Refactor more functions - make more functions in retroarch.c static
that don't need to be public
2014-08-02 01:49:36 +02:00
twinaphex
8285f6021f Refactor away rarch_main_idle_iterate 2014-08-01 17:57:14 +02:00
twinaphex
f958587a57 Rename load_menu_game to load_menu_content 2014-07-28 01:55:59 +02:00
twinaphex
86f2ef2ae8 Get rid of free_args 2014-07-28 01:28:48 +02:00
twinaphex
458e4d83f4 Make load_menu_game_prepare a static function and call it from
load_menu_game
2014-07-28 01:00:16 +02:00
twinaphex
1175ced819 (Frontend.c) Some more cleanups 2014-07-28 00:31:20 +02:00
twinaphex
1dfccb84e1 Refactor menu_load_game and the content loading routine in
frontend.c
2014-07-28 00:18:05 +02:00
twinaphex
e104698f7e Refactor load_menu_game/main function some more 2014-07-27 20:24:06 +02:00
twinaphex
b0490c4f8c Build fix 2014-07-27 17:17:23 +02:00
Twinaphex
b67b481f1c (Frontend/Menu) start refactoring load_menu_game 2014-07-27 08:17:38 +02:00
twinaphex
24f0dcc550 Refactor away load_menu_game_prepare_dummy 2014-07-25 22:11:34 +02:00