Commit Graph

323 Commits

Author SHA1 Message Date
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
twinaphex
098c8a6063 Move some header includes around 2015-06-13 19:12:10 +02:00
twinaphex
c36e21ed13 (General) Cleanup 2015-06-12 17:00:37 +02:00
Higor Eurípedes
9bbff40a46 (runloop.c) Add some locks around message queue calls 2015-05-20 20:50:51 -03:00
twinaphex
cf2c0f6930 Rename rarch_render_cached_frame to video_driver_cached_frame 2015-05-20 21:06:44 +02:00
twinaphex
a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex
4afc100924 Move audio_data out of global struct to prevent threading issues 2015-05-19 21:18:07 +02:00
Twinaphex
337b37fc49 Merge pull request #1709 from heuripedes/master
stuff
2015-05-19 20:16:20 +02:00
Twinaphex
10e66028e0 Remove some unused variables 2015-05-19 20:13:26 +02:00
Higor Eurípedes
f093c00e9c (runloop.c) Remove uneeded statement 2015-05-19 15:13:05 -03:00
twinaphex
375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
Higor Eurípedes
8abe315896 (runloop.c) Set g_extern to NULL on free 2015-05-19 14:41:02 -03:00
Higor Eurípedes
feef97f0df Set the global variable to NULL on free in driver.c and runloop.c 2015-05-19 14:01:02 -03:00
Twinaphex
ba220f1868 Cleanup unused variable 2015-05-16 17:01:46 +02:00
twinaphex
74ee699d5c Split up rarch_main_data_iterate outside of rarch_main_iterate 2015-05-16 17:00:50 +02:00
twinaphex
085297f2d7 Relying on rarch_main_data_is_active to block on isn't very safe apparently 2015-05-16 16:45:28 +02:00
twinaphex
6f84857ec3 Make rarch_main_data_get_ptr a public function 2015-05-16 16:42:08 +02:00
twinaphex
0330d2f245 Make rarch_main_data_active a public function 2015-05-16 16:37:58 +02:00
twinaphex
dd7d1493a6 Revert "Create menu_refresh"
This reverts commit 7baa41422d.
2015-05-15 18:05:52 +02:00
twinaphex
7baa41422d Create menu_refresh 2015-05-15 17:58:09 +02:00
twinaphex
9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex
d97b744b32 (runloop.c) Cleanup 2015-04-27 05:36:41 +02:00
twinaphex
9ef656dc61 (MSVC) Build fixes 2015-04-20 20:00:39 +02:00
twinaphex
62960177fe Rename rarch_cmd_state to event_cmd_state and move to command_event.h 2015-04-13 11:41:44 +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