Commit Graph

143 Commits

Author SHA1 Message Date
twinaphex
15713a1bfa Remove libretro.h header include from runloop.h 2015-12-06 20:25:05 +01:00
twinaphex
551c838248 Remove core_options.h header include from runloop.h 2015-12-06 20:23:55 +01:00
twinaphex
c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex
883c2a172a Exclude performance.h from runloop.h 2015-12-06 19:10:58 +01:00
twinaphex
d33f0b5239 Don't make async_jobs dependent on global state anymore 2015-12-06 18:37:57 +01:00
twinaphex
bbbf6513fd move gpu record buffer to video_driver.c 2015-12-06 15:22:20 +01:00
twinaphex
6b9100143c Header include cleanups 2015-12-06 13:12:27 +01:00
twinaphex
ffa4c58f1a move setjmp.h to retroarch.c 2015-12-05 21:31:46 +01:00
twinaphex
c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex
3b176eed6f move frame_time_last out of system_t struct and make it
a static local variable inside rarch_main_iterate
2015-12-04 12:26:39 +01:00
twinaphex
fddab2a2b8 Turn main_max_frames into static local variable and reimplement
rarch_main_iterate_time_to_exit
2015-12-04 10:18:14 +01:00
twinaphex
cc1f0e6ab4 Reimplement EVENT_CMD_SET_FRAME_LIMIT and make frame_limit_minimum_time
and frame_limit_last_time static local variables of rarch_main_iterate
2015-12-04 09:54:12 +01:00
twinaphex
1cd32c0dfc Turn mq_lock into static local variable and move it to runloop_ctl 2015-12-04 08:40:42 +01:00
twinaphex
21f4281f88 Turn main_core_shutdown_initiated into static local variable 2015-12-04 08:00:51 +01:00
twinaphex
646d697d95 Turn main_exec into static local variable 2015-12-04 03:01:48 +01:00
twinaphex
ad3e74670b Move shader_dir_list to runloop.c 2015-12-01 04:00:09 +01:00
twinaphex
10875bf6a0 Move shader_dir references 2015-12-01 03:55:31 +01:00
twinaphex
3555fc1d02 Cleanups 2015-12-01 03:51:34 +01:00
twinaphex
fcde5ae8ff Add RUNLOOP_CTL_GET_WINDOWED_SCALE 2015-12-01 03:46:56 +01:00
twinaphex
c5df156f23 Cleanups 2015-12-01 03:33:50 +01:00
twinaphex
4cc820d4a6 Move global->cheat to cheats.c 2015-12-01 03:29:32 +01:00
twinaphex
f1a0068dc7 Move bsv global state to movie.c 2015-12-01 01:47:26 +01:00
twinaphex
d3ac25ae3e Turn global->path.fullpath into static variable 2015-11-30 23:45:29 +01:00
twinaphex
7114442189 Cleanups 2015-11-30 23:38:29 +01:00
twinaphex
952ecf22cd (runloop.c) Turn some functions static 2015-11-30 23:29:46 +01:00
twinaphex
809f8da955 move msg_queue_pushf to tasks/tasks.c 2015-11-30 23:24:11 +01:00
twinaphex
e8471ead48 Move rewind state code out of g_extern 2015-11-30 22:29:16 +01:00
twinaphex
6b92167050 Move block_config_read to retroarch.c 2015-11-30 22:09:28 +01:00
twinaphex
6c4557817d Move force_fullscreen to retroarch.c 2015-11-30 22:02:54 +01:00
twinaphex
04605f085c Create RUNLOOP_CTL_{PERFCNT} 2015-11-30 21:56:35 +01:00
twinaphex
9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex
4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex
c76272ad8d Move more state out of global 2015-11-30 19:30:05 +01:00
twinaphex
5d70131ce1 Move global->autosave to autosave.c 2015-11-30 19:23:13 +01:00
twinaphex
30ed8b750b move temporary_content to content.c 2015-11-30 19:09:12 +01:00
twinaphex
b0c36c18dd Move global->exec to runloop.c as static variable 2015-11-30 15:46:39 +01:00
twinaphex
86de67b3d7 Move core_shutdown_initiated to runloop.c and turn it into
static variable
2015-11-30 15:43:49 +01:00
twinaphex
4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex
178e52bca5 Move turbo_btns to input_driver.c 2015-11-29 17:10:03 +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
Higor Eurípedes
6dfa580dfa (runloop_msg) Add rarch_main_msg_queue_pushf() 2015-11-28 16:07:53 -03:00
twinaphex
a1226004f5 Revert "Don't render menu if unfocused - reimplement this"
This reverts commit ce7ec0681b.
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
f95be06f13 Buildfix 2015-11-27 23:39:43 +01:00
twinaphex
ec9ec9e079 Create RARCH_MAIN_CTL_CHECK_IDLE_STATE 2015-11-27 20:13:52 +01:00
twinaphex
a9cb970d0d Move log_file code to verbosity.c 2015-11-23 15:45:02 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
d65a445acd Fix concurrency issue with global->verbose 2015-11-22 20:50:39 +01:00