241 Commits

Author SHA1 Message Date
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