Commit Graph

348 Commits

Author SHA1 Message Date
twinaphex
fc96ac60f3 Add RARCH_MAIN_CTL_GLOBAL_FREE 2015-09-26 21:30:20 +02:00
twinaphex
a3386f8f56 Refactor away rarch_update_frame_time 2015-09-26 21:06:27 +02:00
twinaphex
f62abdfed8 Refactor away rarch_limit_frame_time 2015-09-26 21:03:38 +02:00
twinaphex
e911e91f1b Move global->exec unsetting to the right place 2015-09-26 15:46:36 +02:00
twinaphex
8f7fbb973b (runloop.c) Refine/refactor do_quit code 2015-09-26 15:45:45 +02:00
twinaphex
0c674e8917 rarch_main_ctl - cleanups 2015-09-26 15:37:16 +02:00
twinaphex
b15347c893 Refactor rarch_main_ctl 2015-09-26 15:35:01 +02:00
twinaphex
ca7f547412 Add RARCH_MAIN_CTL_CHECK_STATE 2015-09-26 15:24:05 +02:00
twinaphex
bae9abb525 Add RARCH_MAIN_CTL_CHECK_PAUSE 2015-09-26 15:16:28 +02:00
twinaphex
fd4ce8659c Cleanups 2015-09-26 15:08:52 +02:00
twinaphex
ce36506734 Move around global_get_ptr 2015-09-26 15:00:29 +02:00
twinaphex
36b3576f20 Add more RARCH_MAIN_CTL_ enums 2015-09-26 14:57:46 +02:00
twinaphex
ab2e10fe70 Cleanups 2015-09-26 13:44:19 +02:00
twinaphex
54c3b60603 Refactor away rarch_main_clear_state 2015-09-26 13:35:04 +02:00
twinaphex
374a5bf635 Refactor away rarch_main_set_max_frames 2015-09-26 13:28:33 +02:00
twinaphex
7e6b6d8be6 Refactor away rarch_main_set_frame_limit_last_time 2015-09-26 13:25:58 +02:00
twinaphex
e3e1a5a35c Refactor away rarch_main_set_idle 2015-09-26 13:20:15 +02:00
twinaphex
5ad2987449 Refactor away rarch_main_set_slowmotion 2015-09-26 13:16:19 +02:00
twinaphex
4ba88ccabf Refactor away rarch_main_set_pause 2015-09-26 13:12:26 +02:00
twinaphex
0d18c61bc5 Add RARCH_MAIN_CTL_IS_PAUSED 2015-09-26 13:04:07 +02:00
twinaphex
cc4a918296 Create rarch_main_ctl 2015-09-26 12:58:02 +02:00
twinaphex
8dbdc90ebe Revert "Main menu loop now does rendering, data runloop does actual"
This reverts commit 297a63c77b.
2015-09-25 00:20:53 +02:00
twinaphex
297a63c77b Main menu loop now does rendering, data runloop does actual
state handling
2015-09-25 00:00:06 +02:00
twinaphex
5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex
2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex
28ac662440 Cleanups 2015-09-16 12:30:47 +02:00
twinaphex
576626ead0 Refactor frame_is_reversed - shader drivers should no longer
be dependent upon global state
2015-09-16 11:14:43 +02:00
twinaphex
e1c1917ed5 Cleanup headers 2015-09-05 19:24:21 +02:00
twinaphex
d7cde1675d Build fixes 2015-08-29 15:05:40 +02:00
twinaphex
4b3d520c19 Buildfix 2015-08-29 15:04:59 +02:00
twinaphex
70ff0a62f3 N/A 2015-08-27 15:00:48 +02:00
twinaphex
fdd1d3ee9f Pass sleep_ms argument to rarch_main_iterate 2015-08-27 14:52:02 +02:00
twinaphex
1ec90df165 Refactor fastforward ratio 2015-08-27 14:39:42 +02:00
twinaphex
fc763f5e25 Add EVENT_CMD_SET_FRAME_LIMIT 2015-08-27 14:25:57 +02:00
twinaphex
4e03865a78 Cleanup 2015-08-27 14:09:32 +02:00
twinaphex
d4534cca19 Simplify rarch_frame_limit_time 2015-08-27 13:56:59 +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
d45b953078 Integrate main_is_idle check inside do_state_checks 2015-08-27 13:01:32 +02:00
twinaphex
3b9eca025e rarch_main_iterate - another change 2015-08-27 12:48:35 +02:00
twinaphex
bcb54b2eec (rarch_main_iterate) Another refactor 2015-08-27 12:46:32 +02:00
twinaphex
b6c34b362d Refactor rarch_main_iterate 2015-08-27 12:43:35 +02:00
twinaphex
8bf28544ef Add parameter to function signature of menu_iterate 2015-08-21 04:33:55 +02:00
twinaphex
7831fd6fc0 Cleanups pt. 3 2015-08-21 04:16:43 +02:00
twinaphex
c9a3caeca5 Cleanup 2015-08-06 03:44:32 +02:00
twinaphex
00af8fa7db Cleanups 2015-08-06 03:43:19 +02:00
twinaphex
b6812cc365 Refactor away input_flush 2015-08-06 03:20:15 +02:00
twinaphex
18af1a74a6 Refactor input_flush 2015-08-06 03:17:56 +02:00
twinaphex
d279b158c9 Bring back input_flush 2015-08-06 03:09:42 +02:00
twinaphex
6cee3c6701 Cleanups 2015-08-06 02:56:44 +02:00
twinaphex
4f69881592 Cleanups 2015-08-05 15:54:21 +02:00
twinaphex
3e21d0a0d0 (runloop) Add quit goto 2015-08-05 15:48:54 +02:00
twinaphex
9b43c973bb Cleanups 2015-08-05 15:08:09 +02:00
twinaphex
e418067610 Cleanup 2015-08-05 15:04:57 +02:00
twinaphex
77baab1577 Cleanups #2 2015-08-05 14:59:55 +02:00
twinaphex
517ec935b7 Cleanup 2015-08-05 14:57:06 +02:00
twinaphex
adb28bb341 Refactor max_frames 2015-08-05 14:45:56 +02:00
twinaphex
f39ab89867 (runloop.c) Refactors 2015-08-05 14:36:35 +02:00
twinaphex
a1e6313453 Refactor away input_flush 2015-08-05 14:24:21 +02:00
twinaphex
4cc71c0574 Refactor ui_companion_is_on_foreground 2015-08-05 13:56:59 +02:00
twinaphex
b18442dc5a Refactor is_slowmotion 2015-08-05 13:06:44 +02:00
twinaphex
ccac72f1e7 Refactor is_paused 2015-08-05 12:58:25 +02:00
twinaphex
74ee9b05f3 Create rarch_main_set_idle - make 'idle' variable self-contained 2015-08-05 12:40:47 +02:00
twinaphex
89d8b246b0 (runloop) Less pointer grabbing 2015-08-03 23:48:58 +02:00
twinaphex
d184e9b99e (runloop) Less pointer grabbing 2015-08-03 23:46:50 +02:00
twinaphex
0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex
d98902c21e Don't use video_driver_get_frame_count in crucial runloop function 2015-08-03 20:39:58 +02:00
twinaphex
3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
twinaphex
bd6ee135e9 Take out runloop_t dependencies 2015-08-03 20:03:14 +02:00
twinaphex
e43f54f7c1 Take max frames out of runloop 2015-08-03 19:49:34 +02:00
twinaphex
a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex
4d78dc4bdf Make g_runloop not a pointer anymore 2015-07-27 14:41:25 +02:00
twinaphex
aa649f90fc Make g_extern not a pointer 2015-07-27 14:38:01 +02:00
twinaphex
cdef82b185 Make late binding possible for frontend drivers
(PS3) Fix shutdown/quit hang - now we have to fix exitspawn instead
2015-07-27 03:44:28 +02:00
twinaphex
7ad1beeb81 Some robustness checks 2015-07-18 15:26:31 +02:00
twinaphex
a2af5252c1 Get rid of input_driver_key_pressed 2015-07-17 03:09:12 +02:00
twinaphex
f938c75e0b When 'Hide In Menu' is enabled, overlay should reappear now when we
select 'Resume Content', 'Load State', or 'Save State'
2015-07-16 11:57:50 +02:00
twinaphex
6001d6bacd (runloop_t) Refactor more continuous pointer grabbing 2015-07-12 19:17:57 +02:00
twinaphex
b50f6a02ed (runloop.c) Minimize pointers grabbed 2015-07-12 19:06:24 +02:00
twinaphex
2aac64552d Cut down on some more superfluous wrapper functions 2015-07-12 11:28:19 +02:00
twinaphex
7e46058362 Set system->shutdown to false when loading dummy core 2015-07-12 02:20:45 +02:00
twinaphex
c09cc19cfe Add Menu Toggle Joypad Combo 2015-07-09 06:27:17 +02:00
twinaphex
4cb5d57ede Add 'Hide Overlay In Menu' option 2015-07-09 04:05:59 +02:00
twinaphex
46cdc34b9b Set up groundwork for new mobile-friendly setting 2015-07-09 03:47:07 +02:00
twinaphex
e4384c5a10 Updates pt .3 2015-07-02 18:46:27 +02:00
twinaphex
5cc09b844d Style nits 2015-07-02 05:24:38 +02:00
twinaphex
0c6809952d Cleanups 2015-07-02 00:56:51 +02:00
twinaphex
42b7c15129 Update msg_hash code 2015-07-01 19:30:34 +02:00
twinaphex
6cc06b6c17 Start putting messages through new message queue push function 2015-07-01 02:00:39 +02:00
twinaphex
b96e02db75 Create runloop_msg.c 2015-07-01 01:19:14 +02:00
twinaphex
affd3683de Remove instances of 'RetroArch' name with 'program' 2015-06-30 15:26:14 +02:00
twinaphex
96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
twinaphex
7a2bd21b3d (runloop.c) Cleanup 2015-06-27 15:52:24 +02:00
twinaphex
6ad1ebcd2a More C89 fixes 2015-06-26 19:57:40 +02:00
twinaphex
8bfea0322f More C89 build fixes 2015-06-26 19:37:41 +02:00
twinaphex
7e9869b02b (runloop.c) use rarch_system_info_get_ptr 2015-06-25 13:06:06 +02:00
Higor Eurípedes
b2bd80edd4 (runloop) Fix shader hotkeys 2015-06-22 19:01:35 -03:00
twinaphex
5c826a6bdf Cleanups 2015-06-22 11:45:00 +02:00
twinaphex
6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
twinaphex
0e046c2fbb Create input_driver_keyboard_mapping_is_blocked/input_driver_keyboard_mapping_set_block 2015-06-19 03:45:23 +02:00
twinaphex
0c7d2e0d00 DOn't use strcmp in check_shader_dir 2015-06-14 18:46:00 +02:00