twinaphex
a64fe6ce63
Move static variables outside of runloop_ctl
2016-05-08 01:41:32 +02:00
twinaphex
6544772fb8
De-ioctl ify core_ctl
2016-05-08 01:33:57 +02:00
twinaphex
42019bd02f
People don't like ioctl functions - so here goes
2016-05-08 00:15:21 +02:00
twinaphex
895783d854
Move some variables
2016-04-28 20:49:13 +02:00
twinaphex
65dec874a8
Move some path settings
2016-04-28 19:52:25 +02:00
twinaphex
00dce981c8
(runloop.c) Create static functions
2016-04-10 15:40:46 +02:00
twinaphex
dba04c73e4
Move core options variable
2016-04-06 02:30:20 +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
2fee5edba4
Move linefeed enable enums to input_keyboard.c
2016-03-23 06:18:09 +01:00
twinaphex
ac6362cae4
Combine list_special files
2016-03-20 17:28:24 +01:00
twinaphex
93b7dc1bdd
(libretro-common) move 'lists' files to lists/
2016-03-20 14:53:54 +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
David Skywalker
1a5273a73b
just check hardcore mode changes on menu
...
also fix a rewind deinit
2016-03-14 12:53:56 +01:00
twinaphex
69998b0d6c
Memset runloop_frame_time to NULL at RUNLOOP_CTL_PREPARE_DUMMY
...
time
2016-03-12 15:17:02 +01:00
twinaphex
3d19ec2e9e
Reimplement frame time code
2016-03-12 14:47:10 +01:00
twinaphex
b7d3f3b01c
Remove functions audio_driver_set_callback/audio_driver_unset_callback
2016-03-04 21:44:44 +01:00
twinaphex
e9a0aba85b
Silence bunch of warnings and fix an error
2016-03-04 19:42:30 +01:00
twinaphex
90fbc6330c
Create RARCH_DISPLAY_CTL_SET_TITLE_BUF
2016-03-04 19:38:15 +01:00
twinaphex
2d158b809c
Cleanups
2016-03-04 19:29:22 +01:00
twinaphex
05ce32efe4
Add RUNLOOP_CTL_FORCED_NONBLOCK_{} actions
2016-03-04 19:20:00 +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
50f0e19263
Remove unused variable
2016-03-02 06:11:03 +01:00
twinaphex
5dfc3f31db
Move game_options_path to paths
2016-03-02 05:29:24 +01:00
twinaphex
34f3963e4e
Simplify RUNLOOP_CTL_IS_SLOWMOTION
2016-02-29 01:33:14 +01:00
twinaphex
0f8f980c8f
Start reimplementing Zarch joypad input
2016-02-26 22:29:10 +01:00
twinaphex
2f98073fc1
Add setting 'Menu Throttle Framerate' to 'Frame Throttle'
2016-02-24 21:24:32 +01:00
twinaphex
6512e5ff6e
Move this check - this should serve as a framerate limiter for the
...
menu
2016-02-21 12:11:08 +01:00
Hans-Kristian Arntzen
adbf9fed16
Vulkan implementation.
2016-02-16 20:42:02 +01:00
twinaphex
a36382b938
Create CHEEVOS_CTL_TEST
2016-02-13 06:09:37 +01:00
twinaphex
8c8ea6c167
Cleanups
2016-02-13 05:22:07 +01:00
twinaphex
f1ea400456
Refactor away runloop_msg_queue_pull
2016-02-13 05:17:36 +01:00
Twinaphex
cf4d31cd80
Shouldn't repeat keys now
2016-02-12 07:49:49 +01:00
twinaphex
37875fb242
Add MENU_CTL_*PENDING_ACTION
2016-02-12 07:30:34 +01:00
twinaphex
774ec5b7ca
Some runloop_ctl changes
2016-02-11 01:47:24 +01:00
twinaphex
b5e28cda58
Create RARCH_MENU_CTL_ITERATE
2016-02-10 20:13:12 +01:00
twinaphex
9db5d45361
Change return value to menu_driver_iterate
2016-02-10 20:08:10 +01:00
twinaphex
d9de92f48b
Buildfix
2016-02-09 18:38:57 +01:00
twinaphex
5b6d310abd
Rename enums
2016-02-09 18:26:27 +01:00
twinaphex
8b9c7a47e4
Move task_queue to queues/ dir
2016-02-09 18:13:47 +01:00
twinaphex
31112e937b
Move task_queue.c to libretro-common
2016-02-09 18:11:11 +01:00
twinaphex
4210ee197b
Rename tasks.c to task_queue.c
2016-02-09 17:55:15 +01:00
twinaphex
6e9bc55dd6
Rename task_ctl to task_queue_ctl
2016-02-09 17:51:51 +01:00
twinaphex
0378463130
Remove configuration.h dependencies from tasks.c
2016-02-09 17:41:30 +01:00
radius
14cd4af752
don't create directories when checking for game options, only create when the user selects the menu entry
2016-02-08 00:07:41 -05:00
twinaphex
490c023fe3
Add core_info_ctl actions
2016-02-07 02:37:57 +01:00
twinaphex
7a01fb1616
Create CORE_INFO_CTL commands
2016-02-07 02:24:08 +01:00
twinaphex
0643b83f7d
Header include changes
2016-02-05 13:57:08 +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
03ddb7baa2
Style nits
2016-02-03 17:10:54 +01:00
radius
659a3ef5d8
write to game options files if created instead of the main options file
2016-01-31 01:54:57 -05:00
twinaphex
b47caeb58b
Refactor away runloop_msg_queue_push_new
2016-01-29 14:30:09 +01:00
twinaphex
a5e8615091
Create TASK_CTL_INIT
2016-01-28 09:52:28 +01:00
twinaphex
b008750f18
Add TASK_CTL_DEINIT
2016-01-28 09:48:47 +01:00
twinaphex
7a5fbc6948
Create TASK_CTL_CHECK
2016-01-28 09:45:14 +01:00
twinaphex
9046626256
Cleanup
2016-01-28 09:24:38 +01:00
twinaphex
fef5ecd97b
Create CORE_CTL_RETRO_GET_SYSTEM_INFO
2016-01-27 08:58:31 +01:00
twinaphex
0434c907c4
Replace another reference to retro_ctx
2016-01-27 04:51:47 +01:00
twinaphex
489b578bf8
rename CORE_CTL_RUN to CORE_CTL_RETRO_RUN
2016-01-27 03:31:42 +01:00
twinaphex
d1ffd1f9cc
Create CORE_CTL_RUN
2016-01-27 03:21:36 +01:00
twinaphex
9ad50f91e8
Add poll-type - can change it only at compile-time right now
2016-01-27 01:16:53 +01:00
twinaphex
d8fef4df6e
Style nits
2016-01-26 05:44:21 +01:00
twinaphex
2a9b2d7759
Cut down on duplicated code surrounding game options files
2016-01-26 02:24:59 +01:00
twinaphex
04616522b9
Cleanup action_ok_option_create
2016-01-26 02:21:03 +01:00
twinaphex
6596d15d81
Remove some RARCH_CONSOLE ifdefs
2016-01-25 06:55:15 +01:00
twinaphex
91f7120604
Cleanup
2016-01-23 19:42:05 +01:00
twinaphex
894da665ad
Cleanup
2016-01-23 19:40:43 +01:00
twinaphex
372d673a26
Rename event_command to event_cmd_ctl - add second parameter
2016-01-22 15:34:43 +01:00
twinaphex
107cb53b5a
Remove unused variable
2016-01-22 14:43:11 +01:00
twinaphex
7924823b32
Fix RUNLOOP_CTL_FRONTEND_KEY_EVENT_GET
2016-01-21 19:45:43 +01:00
twinaphex
25d63c3167
Get rid of some implicit memsets
2016-01-21 02:19:38 +01:00
twinaphex
6bf373a7c7
Divorce frontend_key_event from global variable
2016-01-21 01:52:02 +01:00
twinaphex
e1ab34d884
Cleanups
2016-01-20 03:38:08 +01:00
twinaphex
9017fe8c50
Simplify this code
2016-01-20 03:32:03 +01:00
twinaphex
3abbe15637
Fix 'Dummy on Core Shutdown' setting
2016-01-20 03:31:19 +01:00
twinaphex
1eac61e9a0
Create RARCH_CTL_IS_DUMMY_CORE
2016-01-19 23:44:32 +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
0696e0ca46
Change title
2016-01-14 07:14:40 +01:00
twinaphex
7a55ae3765
Start updating headers for 2016
2016-01-10 04:06:50 +01:00
twinaphex
4504c9fba1
Revert "I think this can be moved below this return block"
...
This reverts commit a10e36ebb6
.
2016-01-07 00:11:58 +01:00
twinaphex
a10e36ebb6
I think this can be moved below this return block
2016-01-07 00:10:46 +01:00
twinaphex
a6ba6073f3
Move macros to the top of the file
2015-12-26 11:10:13 +01:00
twinaphex
83c3b7f506
Rework runloop_iterate_time_to_exit
2015-12-26 11:08:44 +01:00
twinaphex
15336342fa
Move runloop_shader_dir to runloop_ctl as static local variable
2015-12-26 10:05:10 +01:00
twinaphex
7f48d051f6
move runloop_pending_windowed_scale to runloop_ctl as
...
static variable
2015-12-26 09:53:32 +01:00
twinaphex
eb0d76d976
string_is_empty already checks this now
2015-12-26 08:22:45 +01:00
twinaphex
91f61afa16
Start using string_is_empty
2015-12-26 07:07:01 +01:00
twinaphex
5cdbe7e3cc
Fixes some crucial bugs
2015-12-25 19:30:31 +01:00
ctult
5bb3ab4d45
Starting to clean up netplay code
2015-12-23 13:25:28 -07:00
radius
4024c9a8c6
Change the label when per-game options are in use
2015-12-17 17:26:11 -05:00
twinaphex
5ef30e3ac4
Fix System Information no longer showing
2015-12-16 03:28:55 +01:00
twinaphex
e7749c5d42
Create RUNLOOP_CTL_KEY_EVENT_GET
2015-12-13 14:31:17 +01:00
twinaphex
c90737388b
Get rid of unused data_runloop_osd_msg
2015-12-11 15:52:26 +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
45de6fe3b5
Create RARCH_DRIVER_CTL_SET_NONBLOCK_STATE
2015-12-11 11:04:16 +01:00
twinaphex
f2911269d5
Create driver_ctl
2015-12-11 10:43:53 +01:00
twinaphex
a8c6fc150b
Add RUNLOOP_CTL_DATA_ITERATE
2015-12-11 10:17:18 +01:00
twinaphex
d7fd52b03f
Make g_system_menu no longer a global
2015-12-10 23:08:34 +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
3965ea8fd6
runloop_iterate - cleanups
2015-12-10 21:31:28 +01:00
twinaphex
4202e9e9d3
Cleanup
2015-12-10 19:43:25 +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
39499eb107
Silence 'cannot be reached' warnings
2015-12-08 19:54:36 +01:00
twinaphex
c1c0870328
Cleanup
2015-12-07 16:01:18 +01:00
twinaphex
b0b35ba9e5
Remove more references to menu_driver_get_ptr outside of menu/ files
2015-12-07 16:00:48 +01:00
twinaphex
ed7e4af287
Rename remaining rarch_main_ functions
2015-12-07 15:36:58 +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
4eb669429f
Don't make g_system a pointer
2015-12-07 14:02:01 +01:00
twinaphex
fd7e4db9aa
Combine system.c and runloop.c
2015-12-07 13:56:33 +01:00
twinaphex
c6e454da46
Cleanup
2015-12-07 13:20:19 +01:00
twinaphex
5679950f20
Simplify event_cmd_state
2015-12-07 11:23:32 +01:00
twinaphex
7a322e7cd2
More cleanups
2015-12-07 11:04:32 +01:00
twinaphex
f1b216f64a
Further cleanups
2015-12-07 10:58:10 +01:00
twinaphex
c8e8f324db
Create rarch_main_cmd_menu_press
2015-12-07 10:56:00 +01:00
twinaphex
c3a80c8ee3
Cleanups
2015-12-07 10:33:17 +01:00
twinaphex
6f0f9bf80a
Store old state and current input state too
2015-12-07 10:28:47 +01:00
twinaphex
f2413baf31
More of previous commit
2015-12-07 10:25:45 +01:00
twinaphex
45430c3346
Start reimplementing event_cmd_state buttons
2015-12-07 10:05:58 +01:00
Twinaphex
74f9c4b88c
RUNLOOP_CTL_STATE_FREE - set two more variables back to their default values
2015-12-07 08:34:57 +01:00
Twinaphex
1e59387634
Group under HAVE_THREADS
2015-12-07 07:52:11 +01:00
Twinaphex
9ea78c19c7
Set runloop_msg_queue_lock back to NULL after freeing it
2015-12-07 07:48:14 +01:00
twinaphex
c6359d6dbc
Divorce g_system_menu from global state
2015-12-06 19:31:47 +01:00
twinaphex
1cfb39a9d1
merge menu.c and menu_driver.c
2015-12-06 17:55:27 +01:00
twinaphex
39e9d5c5ba
Start cutting down on the size of some char local variables - we
...
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex
e87c38bbed
Remove driver_clear_state
2015-12-05 21:14:44 +01:00
twinaphex
5b939e810c
Get rid of driver_t and driver_get_ptr
2015-12-05 16:54:13 +01:00
twinaphex
67e8647acb
Start isolating usage of driver->netplay_data to netplay.c
2015-12-05 16:27:00 +01:00
twinaphex
d4d07f674f
Create netplay_driver_ctl
2015-12-05 16:24:31 +01:00
twinaphex
18ab12ab83
Take header include record_driver.h out of driver.h
2015-12-05 16:12:29 +01:00
twinaphex
7e5d1f3117
Only rcord_driver.c references driver->recording now
2015-12-05 16:05:35 +01:00
twinaphex
271975954f
move camera_driver.h header incldue out of driver.h
2015-12-05 15:55:26 +01:00
twinaphex
736f343d9f
Create RARCH_MENU_CTL_IS_ALIVE
2015-12-05 13:49:34 +01:00
twinaphex
22c08654df
Move struct definition of event_cmd_state to runloop.c
2015-12-04 13:09:16 +01:00