363 Commits

Author SHA1 Message Date
twinaphex
1c867cedf0 Move nonblock_state to input_driver.c (NOTE: we probably need
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex
f7bb3650d9 Simplify driver_set_nonblock_state 2015-11-29 17:45:07 +01:00
twinaphex
253649b0cf Move flushing_input to input_driver.c 2015-11-29 17:23:30 +01:00
twinaphex
fa0e2032c6 Move EVENT_CMD_PREPARE_DUMMY to rarch_main_ctl 2015-11-29 00:29:41 +01:00
twinaphex
f97f0aa480 Merge runloop.c and runloop_msg.c 2015-11-29 00:19:01 +01:00
twinaphex
bd6b79fdee command_event should only be used for events that the user can call,
so start moving things that the user shouldn't call to rarch_main_ctl
instead
2015-11-29 00:15:51 +01:00
twinaphex
1df5d44bdb Rename input/keyboard_line 2015-11-28 16:13:16 +01:00
twinaphex
b2613904ee Skip menu rendering and sleep when RARCH_MAIN_CTL_IS_IDLE is true 2015-11-28 15:57:27 +01:00
twinaphex
2b4464f30a Implement RARCH_MAIN_CTL_IS_IDLE 2015-11-28 15:03:59 +01:00
twinaphex
778842abe3 Need to sleep for 10ms and return 1 to prevent high CPU usage
in unfocused mode
2015-11-28 03:41:30 +01:00
twinaphex
af2efa8a29 (Menu) Render when we are focused 2015-11-28 03:22:20 +01:00
Twinaphex
f0d37aed11 Take out this for now 2015-11-28 03:11:07 +01:00
twinaphex
a1226004f5 Revert "Don't render menu if unfocused - reimplement this"
This reverts commit ce7ec0681b8927ae404613bddacfae26e1680e3c.
2015-11-28 03:05:37 +01:00
twinaphex
ce7ec0681b Don't render menu if unfocused - reimplement this 2015-11-28 03:03:26 +01:00
twinaphex
a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
twinaphex
265e36a5d0 Some CXX_BUILD buildfixes 2015-11-28 00:33:01 +01:00
Jean-André Santoni
63d977d674 (Menu) Fixes #2479 that was caused by bcb54b2eec135ae9c318eb313f2a010b1dfa7aae and resulted in 2000fps on some nvidia cards 2015-11-28 04:40:48 +07:00
twinaphex
f42098013f Should now idle at menu if pause_nonactive is true 2015-11-27 20:34:43 +01:00
twinaphex
ec9ec9e079 Create RARCH_MAIN_CTL_CHECK_IDLE_STATE 2015-11-27 20:13:52 +01:00
twinaphex
7a831bcea6 Check focus and decide to sleep if 'pause_nonactive' is true 2015-11-27 18:56:11 +01:00
twinaphex
60dd3fe8b3 Move input_data related code to input/input_common.c 2015-11-24 00:53:47 +01:00
twinaphex
09fe26257c header include changes 2015-11-23 21:58:39 +01:00
twinaphex
e0f0590269 Rearrange header includes 2015-11-23 19:40:09 +01:00
twinaphex
a9cb970d0d Move log_file code to verbosity.c 2015-11-23 15:45:02 +01:00
twinaphex
76d6378228 Go through video_driver_ctl 2015-11-23 15:01:49 +01:00
twinaphex
9b41061143 Rename driver->video 2015-11-23 14:14:12 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
e02fdd5b5b Cleanups 2015-11-23 10:13:27 +01:00
twinaphex
d65a445acd Fix concurrency issue with global->verbose 2015-11-22 20:50:39 +01:00
twinaphex
b59e2907f3 Add RARCH_AUDIO_CTL_SETUP_REWIND 2015-11-22 15:25:43 +01:00
twinaphex
6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
twinaphex
533b799692 Create video_driver_ctl and get rid of video_driver_get_frame_count 2015-11-20 15:08:27 +01:00
twinaphex
fecdc86475 Create RARCH_MAIN_CTL_SET_WINDOWED_SCALE 2015-11-18 11:55:23 +01:00
twinaphex
a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
twinaphex
2b727fa941 Add RARCH_MAIN_CTL_SET_LIBRETRO_PATH/RARCH_MAIN_CTL_SET_CONTENT_PATH 2015-11-18 11:15:42 +01:00
twinaphex
88cbdbdfda Reorder runloop global data struct 2015-11-18 03:25:23 +01:00
aliaspider
6e2b9df32f (3ds) fix non-griffin build. 2015-11-11 21:10:13 +01:00
twinaphex
22f85b11df Don't need this anymore 2015-11-07 20:59:12 +01:00
twinaphex
e2ced6bd6a Don't need this additional code anymore 2015-11-07 20:47:29 +01:00
twinaphex
37e450c94c devices_mask no longer needed 2015-11-07 20:44:40 +01:00
twinaphex
df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
257efd2899 Make menu_input_frame_pointer part of menu_input_frame_retropad
again
2015-10-24 03:56:28 +02:00
twinaphex
896a80d6b8 Call menu_driver_iterate another time for pointer/mouse controls 2015-10-23 09:15:05 +02:00
twinaphex
8c74be0879 Rename menu_input_frame to menu_input_frame_retropad 2015-10-23 09:01:57 +02:00
twinaphex
6512e95945 Pass device input mask to menu_input_frame 2015-10-22 19:34:25 +02:00
twinaphex
1a20e19c51 We will now be able to know from which input device type the input
event comes from - i.e. keyboard or gamepad
2015-10-22 19:17:47 +02:00
twinaphex
cd1f3510eb Move some code around 2015-10-22 18:29:35 +02:00
twinaphex
21f23ea51d Backport 'remove cheevos from the build unless HAVE_CHEEVOS=1;' 2015-10-16 18:04:59 +02:00
twinaphex
528a020d86 Always assume we are going to render when calling menu_driver_iterate 2015-10-11 12:58:21 +02:00