Commit Graph

269 Commits

Author SHA1 Message Date
twinaphex
2ebd6e6f49 Header cleanups 2016-06-20 06:34:30 +02:00
twinaphex
ff8d00e12b Use RETRO_BEGIN_DECLS/RETRO_END_DECLS in more files 2016-06-03 03:22:35 +02:00
twinaphex
a70d8e43d9 Cleanups 2016-05-27 16:35:21 +02:00
twinaphex
bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
twinaphex
e10270d459 Delete runloop_prepare_dummy 2016-05-16 17:19:16 +02:00
twinaphex
e13bb23ea0 (runloop.h) Cleanup 2016-05-16 12:21:38 +02:00
twinaphex
a9c959b7e5 REmove RUNLOOP_CTL_CHECK_IDLE_STATE 2016-05-15 10:14:23 +02:00
twinaphex
73cc9c4b15 Rename RUNLOOP_CTL_COREOPTS_GET 2016-05-15 10:09:41 +02:00
twinaphex
df3b090d7a Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
This reverts commit 35bf38e05c.
2016-05-12 09:37:21 +02:00
twinaphex
35bf38e05c Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info 2016-05-12 09:25:52 +02:00
twinaphex
c1bfe795f8 Create runloop_prepare_dummy 2016-05-12 09:04:31 +02:00
twinaphex
22bea3a50b Remove some RUNLOOP_CTL_ enums 2016-05-11 19:28:22 +02:00
twinaphex
daf031173f Remove unused variable 2016-05-11 19:25:15 +02:00
twinaphex
5d821f42a3 Turn another runloop_ctl action into a static function 2016-05-10 01:41:58 +02:00
twinaphex
b909342e12 Cleanup 2016-05-08 07:00:28 +02:00
twinaphex
b21f098119 Cleanups 2016-05-08 06:58:52 +02:00
twinaphex
a9cec38c1d Remove RUNLOOP_CTL_IS_FRAME_COUNT_END 2016-05-08 06:36:52 +02:00
twinaphex
8e599379f6 Create runloop_is_focused 2016-05-08 06:34:25 +02:00
twinaphex
3f36c7f877 Get rid of RUNLOOP_CTL_FRAME_TIME 2016-05-08 06:31:12 +02:00
twinaphex
13e67aa44e Create runloop_iterate_data 2016-05-08 06:29:11 +02:00
twinaphex
0f7cdeaf78 Reduce two enums 2016-05-08 06:09:39 +02:00
twinaphex
7e9eb5b6c4 Cleanup 2016-05-08 05:21:31 +02:00
radius
6999322a53 add a function to retrieve the current OSD line 2016-05-07 19:51:51 -05:00
twinaphex
dba04c73e4 Move core options variable 2016-04-06 02:30:20 +02:00
twinaphex
6e3416b990 Add RARCH_CTL_{USERNAME} 2016-04-06 01:58:11 +02:00
twinaphex
c7a9182d59 Create CORE_CTL_{INPUT_DESCRIPTORS} 2016-04-06 01:57:02 +02:00
twinaphex
9a90008543 Frame time needs to be reset back to defaults after we close the
core and its contents - this was causing a crash when jumping
from a core that supports frame time callback (2048) to a core
that doesn't (Mupen64plus)
2016-04-06 01:29:32 +02:00
twinaphex
4c14267f5b Create core_type.h 2016-03-22 02:56:06 +01:00
twinaphex
91d14cbb62 Revert "Create RARCH_NETPLAY_CTL_IS_ENABLED, RARCH_NETPLAY_CTL_SET_ENABLE,"
This reverts commit 1a978b0f3c.
2016-03-18 00:32:02 +01:00
twinaphex
1a978b0f3c Create RARCH_NETPLAY_CTL_IS_ENABLED, RARCH_NETPLAY_CTL_SET_ENABLE,
and RARCH_NETPLAY_CTL_USNET_ENABLE
2016-03-14 15:03:42 +01:00
twinaphex
3d19ec2e9e Reimplement frame time code 2016-03-12 14:47:10 +01:00
twinaphex
05ce32efe4 Add RUNLOOP_CTL_FORCED_NONBLOCK_{} actions 2016-03-04 19:20:00 +01:00
twinaphex
a9038e3b0a Remove these enums 2016-03-04 18:16:57 +01:00
twinaphex
e34943194c Refactor camera driver code 2016-03-04 18:16:07 +01:00
twinaphex
9ba753993b Create RUNLOOP_CTL_{GET/SET}_FRAME_TIME 2016-03-04 17:54:54 +01:00
twinaphex
5dfc3f31db Move game_options_path to paths 2016-03-02 05:29:24 +01:00
radius
66a8e08252 remove saving remapping, use the automated method instead 2016-02-21 13:55:04 -05:00
twinaphex
f1ea400456 Refactor away runloop_msg_queue_pull 2016-02-13 05:17:36 +01:00
netux79
a2851ab70b (GX) Resolution Saving's Video Corruption Fix.
Also some cleanups for the RA GX version included.
2016-02-12 16:58:59 -05:00
twinaphex
0378463130 Remove configuration.h dependencies from tasks.c 2016-02-09 17:41:30 +01:00
twinaphex
490c023fe3 Add core_info_ctl actions 2016-02-07 02:37:57 +01:00
twinaphex
878c4e3833 Cleanup 2016-02-04 20:56:22 +01:00
twinaphex
24adcc8e68 Create RUNLOOP_CTL_MSG_QUEUE_PUSH 2016-02-03 17:56:40 +01:00
twinaphex
e6d04b2fb4 Create RUNLOOP_CTL_MSG_QUEUE_CLEAR 2016-02-03 17:50:53 +01:00
twinaphex
7803b0d925 Create RUNLOOP_CTL_MSG_QUEUE_PULL 2016-02-03 17:48:01 +01:00
twinaphex
b47caeb58b Refactor away runloop_msg_queue_push_new 2016-01-29 14:30:09 +01:00
twinaphex
219dd6c5d5 Cleanup 2016-01-28 18:53:25 +01:00
twinaphex
bb679fa9ca Move member around inside global struct 2016-01-22 16:11:10 +01:00
twinaphex
058c3acbdc Divorce content_crc from global struct 2016-01-22 16:09:48 +01:00
twinaphex
6bf373a7c7 Divorce frontend_key_event from global variable 2016-01-21 01:52:02 +01:00
twinaphex
6c5b2ff0b5 Turn corrent_core_type into static variable 2016-01-20 03:15:50 +01:00
twinaphex
01d58f8681 Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED 2016-01-19 23:26:47 +01:00
twinaphex
5643b7d3d8 Add CONTENT_CTL_DOES_NOT_NEED_CONTENT and CONTENT_CTL_SET_DOES_NOT_NEED_CONTENT 2016-01-19 23:15:19 +01:00
twinaphex
a5af9b653a Turn global->content.inited into static local variable
and go through content_ctl
2016-01-19 22:57:18 +01:00
twinaphex
7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
radius
4024c9a8c6 Change the label when per-game options are in use 2015-12-17 17:26:11 -05:00
twinaphex
e7749c5d42 Create RUNLOOP_CTL_KEY_EVENT_GET 2015-12-13 14:31:17 +01:00
twinaphex
a8590e656e Take out header include core_info.h from runloop.h 2015-12-11 13:56:00 +01:00
twinaphex
159fe58926 Move core info list to runloop_ctl 2015-12-11 13:51:17 +01:00
twinaphex
eda9009df5 Create RUNLOOP_CTL_CURRENT_CORE_LIST_FREE 2015-12-11 13:33:07 +01:00
twinaphex
23f1bf63c0 Turn core_info_current into static local variable 2015-12-11 13:28:23 +01:00
twinaphex
65eeb3d836 Don't touch global->core_info.current from outside runloop.c 2015-12-11 13:24:14 +01:00
twinaphex
df17c38598 Create RUNLOOP_CTL_CURRENT_CORE_GET 2015-12-11 13:19:40 +01:00
twinaphex
a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
twinaphex
fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex
10f934dc70 Move overrides_active variable to runloop_ctl 2015-12-10 21:43:44 +01:00
twinaphex
7274e6bc3e Cleanups 2015-12-10 12:37:24 +01:00
twinaphex
3c765e30d3 Add RUNLOOP_CTL_GET_CORE_OPTION_SIZE 2015-12-09 09:37:54 +01:00
twinaphex
fee5d2a880 Add RUNLOOP_CTL_HAS_CORE_OPTIONS 2015-12-09 09:34:19 +01:00
twinaphex
99824bcad0 Move more code to do with core options to runloop.c 2015-12-09 09:21:49 +01:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex
5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
twinaphex
e36712a4e0 Turn shader_dir_init and shader_dir_free into static functions 2015-12-07 14:45:15 +01:00
twinaphex
cd8f34e0f8 Move more code to runloop.c 2015-12-07 14:16:34 +01:00
twinaphex
098d983587 Move more core option functionality to runloop.c 2015-12-07 14:13:07 +01:00
twinaphex
fd7e4db9aa Combine system.c and runloop.c 2015-12-07 13:56:33 +01:00
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