twinaphex
48987918e4
Cleanups
2016-06-03 04:37:10 +02:00
twinaphex
7d26034ebe
Rename rarch_task_* to task_*
2016-05-27 18:14:47 +02:00
Twinaphex
86ef11e756
Prevent another memory leak
2016-05-23 14:45:43 +02:00
twinaphex
aabb1e409c
Move netplay code to network/netplay dir
2016-05-19 11:46:54 +02:00
twinaphex
fcf2decb2e
Remove persist argument
2016-05-17 09:07:41 +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
d681d30249
Move code to task_content.c
2016-05-16 17:14:05 +02:00
twinaphex
f70dc77a61
Pass content_ctx_info_t pointer to rarch_task_push_content
2016-05-16 16:25:16 +02:00
twinaphex
fe2eb7f4c1
Add mode to rarch_task_push_content_load_default to make
...
it explicit what each call does
2016-05-16 14:20:26 +02:00
twinaphex
57fedb9fa8
Use rarch_task_push_content_load_default
2016-05-16 13:43:14 +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
b9df6f52f5
Kill off a bunch of RARCH_CTL_LOAD_CONTENT enums
2016-05-11 04:22:22 +02:00
Twinaphex
d9393d5872
Merge pull request #2986 from leiradel/master
...
implemented the RETRO_ENVIRONMENT_SET_MEMORY_MAPS callback
2016-05-10 22:22:40 +02:00
twinaphex
9aed52ac65
Move performance.c to libretro-common/features/features_cpu.c
2016-05-10 20:31:27 +02:00
Andre Leiradella
723463149e
implemented the RETRO_ENVIRONMENT_SET_MEMORY_MAPS callback
2016-05-10 08:04:41 -03:00
twinaphex
35ea37b37f
Revert "Move cpu_features to libretro-common"
...
This reverts commit 2b8ff3bf38
.
2016-05-10 09:32:24 +02:00
twinaphex
2b8ff3bf38
Move cpu_features to libretro-common
2016-05-10 09:27:29 +02:00
twinaphex
0d371def5c
Refactor performance.c code
2016-05-10 09:17:04 +02:00
twinaphex
d0f6facc0f
(runloop.c) Rename functions
2016-05-10 01:44:13 +02:00
twinaphex
5d821f42a3
Turn another runloop_ctl action into a static function
2016-05-10 01:41:58 +02:00
twinaphex
af2a33a8cb
Move core_option_manager to managers/
2016-05-10 01:25:47 +02:00
twinaphex
2c6d6a223c
Rename core_option functions
2016-05-10 01:21:55 +02:00
twinaphex
2691ab0c7d
Rename command_event enums
2016-05-09 20:51:53 +02:00
twinaphex
a98ef36d36
Rename event_cmd_ctl to command_event
2016-05-09 20:20:50 +02:00
twinaphex
6ae20f2016
Create managers/ dir - move cheats.c and state_manager.c to it
2016-05-09 18:20:52 +02:00
twinaphex
3722826e0a
Rename netplay/ to network/
2016-05-09 17:43:38 +02:00
twinaphex
d57574a2ca
Rename some autosve functions
2016-05-09 08:17:35 +02:00
twinaphex
372e7d94cd
Rename rewind.c to state_manager
2016-05-09 07:14:10 +02:00
twinaphex
f8a7154557
Rename rarch_ functions
2016-05-09 07:09:26 +02:00
twinaphex
725c202498
Remove input_driver_ctl
2016-05-08 23:12:04 +02:00
twinaphex
de71776405
(audio driver) Cleanups
2016-05-08 18:03:09 +02:00
Hans-Kristian Arntzen
d723411436
De ioctl video_driver.
2016-05-08 14:00:51 +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
e165954395
Rename libretro_version_1 to core_impl
2016-05-08 05:29:10 +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
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
twinaphex
67e91033e2
Don't grab config pointer at beginning of rarch_main_iterate_time_to_exit
2015-12-04 12:48:33 +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
371ebc6133
Initialize frame_time_last to 0
2015-12-04 12:27:37 +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
599fcec182
Get rid of menu_toggled variable
2015-12-04 11:34:06 +01:00
twinaphex
128095c045
rarch_main_iterate - get rid of now unused ret function
2015-12-04 11:24:53 +01:00
twinaphex
56a26e9014
Reimplement fullscreen toggle
2015-12-04 11:21:06 +01:00
twinaphex
f98eef8a53
Backport/rewrites wmarquesr - pt. 5
2015-12-04 10:49:09 +01:00
twinaphex
02d9dcf906
Cleanups
2015-12-04 10:23:39 +01:00
twinaphex
d0dba20c5a
Pass plain bool to rarch_main_iterate_time_to_exit
2015-12-04 10:19:13 +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
bb6ab7351b
Move runloop_fullpath to runloop_ctl
2015-12-04 08:43:05 +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
a99c8a148f
Turn main_is_paused into static local variable
2015-12-04 07:56:53 +01:00
twinaphex
fe236eae32
move main_is_slowmotion to runloop_ctl as static local variable
2015-12-04 07:42:37 +01:00
twinaphex
f6dfcd0f68
Turn runloop_perfcnt_enable into local static variable
2015-12-04 07:22:42 +01:00
twinaphex
16912401c3
Move g_extern to global_get_ptr as static local variable
2015-12-04 07:18:39 +01:00
twinaphex
ad97c7f589
Turn main_is_idle into static local variable
2015-12-04 03:07:05 +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
43abd39f6a
Start limiting scope of global->cheat to cheats.c
2015-12-01 02:43:34 +01:00
twinaphex
f1a0068dc7
Move bsv global state to movie.c
2015-12-01 01:47:26 +01:00
twinaphex
251075fc03
global->bsv.movie not accessed outside now
2015-12-01 01:38:45 +01:00
twinaphex
ca48d12858
Get rid of global->bsv references
2015-12-01 01:29:16 +01:00
twinaphex
a6d8d28895
Create more BSV_MOVIE_CTL_* enums
2015-12-01 00:16:48 +01:00
twinaphex
4131abf489
Don't access global->bsv. directly
2015-12-01 00:08:02 +01:00
twinaphex
5d9e6bca60
Move bsv movie code to movie.c
2015-12-01 00:04:04 +01:00
twinaphex
d3ac25ae3e
Turn global->path.fullpath into static variable
2015-11-30 23:45: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
3281ba6e91
Header include
2015-11-30 22:30:13 +01:00
twinaphex
0db7cda264
Start moving rewind code to rewind.c
2015-11-30 22:25:13 +01:00
twinaphex
6b92167050
Move block_config_read to retroarch.c
2015-11-30 22:09:28 +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
ca71e1a5bb
Rename RARCH_ACTION_STATE_ to RARCH_CTL_
2015-11-30 21:28:55 +01:00
twinaphex
1368897cd6
(Wii) Warning fixes
2015-11-30 19:34:34 +01:00
twinaphex
5d70131ce1
Move global->autosave to autosave.c
2015-11-30 19:23:13 +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
871713dd9d
Move driver->keyboard_linefeed_enable to input_driver.c
2015-11-30 03:23:35 +01:00
twinaphex
d4e88324ac
Move driver->osk_enable to input_driver.c
2015-11-30 03:14:26 +01:00
twinaphex
3cd701450a
Cleanups
2015-11-30 00:13:51 +01:00
twinaphex
777f8e94d0
Don't pass driver to rarch_main_cmd_get_state
2015-11-29 23:11:33 +01:00
twinaphex
1c867cedf0
Move nonblock_state to input_driver.c (NOTE: we probably need
...
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex
f7bb3650d9
Simplify driver_set_nonblock_state
2015-11-29 17:45:07 +01:00
twinaphex
253649b0cf
Move flushing_input to input_driver.c
2015-11-29 17:23:30 +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
twinaphex
1df5d44bdb
Rename input/keyboard_line
2015-11-28 16:13:16 +01:00
twinaphex
b2613904ee
Skip menu rendering and sleep when RARCH_MAIN_CTL_IS_IDLE is true
2015-11-28 15:57:27 +01:00
twinaphex
2b4464f30a
Implement RARCH_MAIN_CTL_IS_IDLE
2015-11-28 15:03:59 +01:00
twinaphex
778842abe3
Need to sleep for 10ms and return 1 to prevent high CPU usage
...
in unfocused mode
2015-11-28 03:41:30 +01:00
twinaphex
af2efa8a29
(Menu) Render when we are focused
2015-11-28 03:22:20 +01:00
Twinaphex
f0d37aed11
Take out this for now
2015-11-28 03:11:07 +01: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
a6ccc188a8
Rename input_common.c to input_config.c
2015-11-28 02:22:58 +01:00
twinaphex
265e36a5d0
Some CXX_BUILD buildfixes
2015-11-28 00:33:01 +01:00
Jean-André Santoni
63d977d674
(Menu) Fixes #2479 that was caused by bcb54b2eec
and resulted in 2000fps on some nvidia cards
2015-11-28 04:40:48 +07:00
twinaphex
f42098013f
Should now idle at menu if pause_nonactive is true
2015-11-27 20:34:43 +01:00
twinaphex
ec9ec9e079
Create RARCH_MAIN_CTL_CHECK_IDLE_STATE
2015-11-27 20:13:52 +01:00
twinaphex
7a831bcea6
Check focus and decide to sleep if 'pause_nonactive' is true
2015-11-27 18:56:11 +01:00
twinaphex
60dd3fe8b3
Move input_data related code to input/input_common.c
2015-11-24 00:53:47 +01:00
twinaphex
09fe26257c
header include changes
2015-11-23 21:58:39 +01:00
twinaphex
e0f0590269
Rearrange header includes
2015-11-23 19:40:09 +01:00
twinaphex
a9cb970d0d
Move log_file code to verbosity.c
2015-11-23 15:45:02 +01:00
twinaphex
76d6378228
Go through video_driver_ctl
2015-11-23 15:01:49 +01:00
twinaphex
9b41061143
Rename driver->video
2015-11-23 14:14:12 +01:00
twinaphex
074f14b132
Add verbosity.c/verbosity.h
2015-11-23 12:03:38 +01:00
twinaphex
e02fdd5b5b
Cleanups
2015-11-23 10:13:27 +01:00
twinaphex
d65a445acd
Fix concurrency issue with global->verbose
2015-11-22 20:50:39 +01:00
twinaphex
b59e2907f3
Add RARCH_AUDIO_CTL_SETUP_REWIND
2015-11-22 15:25:43 +01:00
twinaphex
6286e4b74c
Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER
2015-11-20 15:34:10 +01:00
twinaphex
533b799692
Create video_driver_ctl and get rid of video_driver_get_frame_count
2015-11-20 15:08:27 +01:00
twinaphex
fecdc86475
Create RARCH_MAIN_CTL_SET_WINDOWED_SCALE
2015-11-18 11:55:23 +01:00
twinaphex
a4ae655ff4
Start going through rarch_main_ctl for grabbing fullpath
2015-11-18 11:43:25 +01:00
twinaphex
2b727fa941
Add RARCH_MAIN_CTL_SET_LIBRETRO_PATH/RARCH_MAIN_CTL_SET_CONTENT_PATH
2015-11-18 11:15:42 +01:00
twinaphex
88cbdbdfda
Reorder runloop global data struct
2015-11-18 03:25:23 +01:00
aliaspider
6e2b9df32f
(3ds) fix non-griffin build.
2015-11-11 21:10:13 +01:00
twinaphex
22f85b11df
Don't need this anymore
2015-11-07 20:59:12 +01:00
twinaphex
e2ced6bd6a
Don't need this additional code anymore
2015-11-07 20:47:29 +01:00
twinaphex
37e450c94c
devices_mask no longer needed
2015-11-07 20:44:40 +01:00
twinaphex
df01279cf3
Add non-HAVE_MENU ifdefs
2015-10-28 00:55:11 +01:00
twinaphex
02a43c6b2a
Change 'rarch' to 'retro' namespace in libretro-common
2015-10-26 03:18:13 +01:00
twinaphex
257efd2899
Make menu_input_frame_pointer part of menu_input_frame_retropad
...
again
2015-10-24 03:56:28 +02:00
twinaphex
896a80d6b8
Call menu_driver_iterate another time for pointer/mouse controls
2015-10-23 09:15:05 +02:00
twinaphex
8c74be0879
Rename menu_input_frame to menu_input_frame_retropad
2015-10-23 09:01:57 +02:00
twinaphex
6512e95945
Pass device input mask to menu_input_frame
2015-10-22 19:34:25 +02:00
twinaphex
1a20e19c51
We will now be able to know from which input device type the input
...
event comes from - i.e. keyboard or gamepad
2015-10-22 19:17:47 +02:00
twinaphex
cd1f3510eb
Move some code around
2015-10-22 18:29:35 +02:00
twinaphex
21f23ea51d
Backport 'remove cheevos from the build unless HAVE_CHEEVOS=1;'
2015-10-16 18:04:59 +02:00
twinaphex
528a020d86
Always assume we are going to render when calling menu_driver_iterate
2015-10-11 12:58:21 +02:00
Andre Leiradella
c53766dde3
added cheevos_test back to runloop.c; included runloop.c and jsonsax.c in griffin.c
2015-10-09 15:29:50 -03:00
Andre Leiradella
18db59b446
removed cheevos_test for now
2015-10-09 14:09:49 -03:00
Andre Leiradella
fa3f17d219
preliminary code for retro achievements (cheevos)
2015-10-09 13:29:57 -03:00
Andre Leiradella
5fce3f4138
grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable
2015-10-06 14:34:09 -03:00
twinaphex
6d4900dc1c
Create function pointer for iterate function
2015-10-03 05:08:29 +02:00
twinaphex
0acb119f61
Don't use menu_driver_get_ptr in runloop anymore
2015-10-03 04:40:19 +02:00
twinaphex
ba1ef9c3c2
(MSVC) Buildfixes
2015-10-02 17:57:37 +02:00
twinaphex
a91a326c0f
Mistakenly passed cmd to rarch_main_ctl
2015-09-30 19:59:21 +02:00
twinaphex
5c087ecf00
Style nits
2015-09-30 19:12:27 +02:00
twinaphex
c926b9fb06
Refinements to rarch_main_iterate_time_to_exit
2015-09-30 19:11:16 +02:00
twinaphex
c9a0a48448
Create rarch_main_iterate_time_to_exit
2015-09-30 19:09:26 +02:00
twinaphex
4f889124ae
Move video_driver_t * variable around
2015-09-29 18:11:09 +02:00
twinaphex
4ca5d31f9b
Some more static code analysis nits when ran with enable=all
2015-09-28 18:12:02 +02:00
twinaphex
9679804382
Rename rarch_main_set_state to rarch_ctl
2015-09-27 01:58:24 +02:00
twinaphex
870ae8b7af
(runloop.c) Refactors/cleanups
2015-09-26 21:32:41 +02:00
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
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
twinaphex
09feb15e97
Simpler way of showing download progress message on threaded
...
data runloop (also usable for other messages in the future)
2015-04-11 03:34:26 +02:00
twinaphex
11d75d088c
(data runloop) Start creating separate message queue for data runloop
2015-04-11 01:17:46 +02:00
twinaphex
d117362b93
(runloop.c) Refactor do_pause_state_checks
2015-04-05 21:37:34 +02:00
twinaphex
634fda75e2
(runloop.c) Fix rewind
2015-04-05 21:35:07 +02:00
twinaphex
bea8fb1b19
Remove unused variable
2015-03-27 16:58:45 +01:00
Radius
2f2a86e97f
add osk enable hotkey
2015-03-25 22:24:12 -05:00
twinaphex
e05af60111
Style nit
2015-03-24 14:04:17 +01:00
twinaphex
c7e78d48d5
Create runloop_data.h
2015-03-24 13:45:53 +01:00
twinaphex
e4f81bff30
(runloop.c) Initialize cmd
2015-03-24 10:15:53 +01:00
twinaphex
bc749d1c3c
Move rarch_cmd_state_t definition to retroarch.h
2015-03-24 10:10:14 +01:00
twinaphex
d573093f0b
Create rarch_main_cmd_get_state
2015-03-24 10:01:17 +01:00
twinaphex
053fb20efa
(runloop.c) Cleanups
2015-03-24 09:44:18 +01:00
twinaphex
b21c3c460a
Move rarch_main_data_free to RARCH_CMD_PREPARE_DUMMY
2015-03-23 06:54:39 +01:00
twinaphex
c274ab94a0
Create input_driver_key_pressed
2015-03-23 03:22:57 +01:00
twinaphex
db1087ad33
Create input_driver_state
2015-03-23 03:04:05 +01:00
twinaphex
b07e4e40d8
Style nits
2015-03-22 07:52:14 +01:00
twinaphex
4b8de58878
Rename functions
2015-03-22 03:41:20 +01:00
twinaphex
2a8f9fdfc0
Put g_driver on heap and make it a pointer
2015-03-22 01:16:57 +01:00
twinaphex
572b59d417
Robustness fixes
2015-03-22 00:29:30 +01:00
twinaphex
508ade73f9
Rename menu_driver_resolve to menu_driver_get_ptr
2015-03-21 23:56:42 +01:00
twinaphex
7e7a42ec21
Reimplement rarch_main_state_free
2015-03-21 19:43:46 +01:00
twinaphex
323475c516
Create RARCH_CMD_VOLUME_UP/RARCH_CMD_VOLUME_DOWN
2015-03-21 09:25:21 +01:00
twinaphex
359349895f
Simplify rarch_limit_frame_time
2015-03-21 09:14:07 +01:00
twinaphex
7dcd98471f
Simplify runloop pt. 2
2015-03-21 09:05:30 +01:00
twinaphex
06f5972d16
Simplify runloop.c
2015-03-21 09:01:27 +01:00
twinaphex
de0ca98487
Refactor time_to_exit
2015-03-21 08:54:27 +01:00
twinaphex
148da6b5f9
runloop.c - simplify
2015-03-21 08:41:08 +01:00
twinaphex
fdc4f3058f
Simplify runloop.c - get rid of convenience macros
2015-03-21 08:27:30 +01:00
twinaphex
f1fe7559bc
Put g_extern on heap
2015-03-21 06:17:03 +01:00
twinaphex
dc45cafa32
Create rarch_main_verbosity and rarch_main_log_file
2015-03-21 06:02:00 +01:00
twinaphex
2409da4afe
global_get_ptr update pt. 3
2015-03-21 05:55:31 +01:00
twinaphex
5a443d229a
global_get_ptr update pt. 2
2015-03-21 05:42:49 +01:00
twinaphex
3d140cdb36
Start going through global_get_ptr
2015-03-21 02:07:46 +01:00
twinaphex
0a5de72318
Move stuff over to runloop.h
2015-03-21 01:59:47 +01:00
twinaphex
533c5c0eb1
Create rarch_main_global_init/rarch_main_global_deinit
2015-03-21 01:53:14 +01:00
twinaphex
c0d5a6c401
Updates pt. 7
2015-03-20 23:22:41 +01:00
twinaphex
6cefa69aa4
Go through settings pointer
2015-03-20 19:48:23 +01:00
twinaphex
b1491e2a5b
Put g_runloop on heap
2015-03-20 19:01:03 +01:00
twinaphex
70d57ad911
Go through rarch_main_get_ptr in runloop.c
2015-03-20 18:31:09 +01:00
twinaphex
f6a791a3e0
Call rarch_main_data_deinit from outside
2015-03-19 07:28:46 +01:00
twinaphex
4aa262b1ed
Create rarch_main_is_idle
2015-03-18 20:48:17 +01:00
twinaphex
aa8e5bc8cf
(GX) Buildfix/warning fix
2015-03-18 20:31:01 +01:00
twinaphex
3670ef2ac5
Go through driver_get_ptr to grab pointer to driver struct
2015-03-18 19:40:00 +01:00
twinaphex
7378299282
Create rarch_main_get_ptr
2015-03-18 06:47:22 +01:00
twinaphex
a333a629ca
Start going through INLINE
2015-03-15 04:30:46 +01:00
twinaphex
892e665f40
Move definition of globals for g_data_runloop and g_runloop
...
out of settings.c
2015-03-15 03:21:58 +01:00
twinaphex
8c1045c1ae
Create wrapper functions for initing the runloop message queue
...
and freeing it
2015-03-15 03:10:45 +01:00
twinaphex
e378962724
Fix hardcoded arguments in rarch_main_msg_queue_push
2015-03-15 03:03:33 +01:00
twinaphex
761177a885
Update more old code to go through the new wrapper function
2015-03-15 02:59:38 +01:00
twinaphex
00239a30d6
Create wrapper functions for passing a message to the runloop's
...
message queue
2015-03-15 02:47:23 +01:00
twinaphex
4a68e58b8c
(runloop_data.c) Move rarch_main_iterate_overlay_state to runloop_data.c
2015-03-15 01:39:43 +01:00
twinaphex
0e85b11046
(runloop data) Properly namespace everything in runloop_data.c
2015-03-14 15:50:34 +01:00
twinaphex
10208eb625
rarch_main_iterate_overlay_state - early return in case runloop
...
is idle
2015-03-08 17:57:00 +01:00
twinaphex
57e3c81329
Properly namespace some function names
2015-03-08 12:30:29 +01:00
twinaphex
5b3ab881ba
Add g_runloop.is_idle
2015-03-08 01:48:40 +01:00
twinaphex
be4d15f2df
Move minimum_frame_time/last_frame_time to g_runloop
2015-03-07 13:43:31 +01:00
twinaphex
d11006e041
Move frame_count to g_runloop
2015-03-07 13:14:04 +01:00
twinaphex
795ef467ac
Move msg_queue and nbio/http to runloop struct
2015-03-07 13:01:41 +01:00
twinaphex
a74cb0574b
Create g_runloop and start moving variables there
2015-03-07 12:36:50 +01:00
twinaphex
34622f63ed
(Overlay) Back to the drawing board
2015-02-27 01:25:08 +01:00
twinaphex
a41c159ece
Load first active overlay immediately - much faster
2015-02-23 21:49:08 +01:00
twinaphex
4a7ce3e460
Simplify input_overlay.c
2015-02-23 06:37:27 +01:00
twinaphex
2390e17fc7
(Overlay) Add some logic
2015-02-23 06:03:53 +01:00
twinaphex
a33b06291d
Split up NBIO/HTTP/image loading code to runloop_data.c
2015-02-23 02:54:14 +01:00
twinaphex
80072c72c2
(MSVC) Buildfix
2015-02-23 02:30:07 +01:00
neville
a7fbfc0c00
(OSX PPC) Build fixes
2015-02-23 01:32:50 +01:00
neville
93b48c4d96
Remove unused variables
2015-02-22 23:55:35 +01:00
twinaphex
f04cb1deb9
Addendum to earlier commit
2015-02-22 08:28:28 +01:00
twinaphex
b673321322
(nbio interface) Don't immediately free data buffer of nbio handle -
...
in the case of images we need to retain this data buffer until it's
time to free it. We set nbio_handle->is_blocking to true to indicate
to the nbio interface that we want to 'block' on the nbio interface
(i.e. don't free, iterate or create a new nbio transfer). If
nbio_handle->is_finished is set to true, we cleanup and free the
nbio transfer handle.
2015-02-22 08:24:10 +01:00
twinaphex
f233ccb141
Start making rnbio_handle chain
2015-02-22 07:34:33 +01:00
twinaphex
98b0728604
Start setting up some code in preparation for non-blocking image
...
loading
2015-02-22 06:35:02 +01:00
twinaphex
0595189fab
Create OVERLAY_STATUS_DEFERRED_LOADING_IMAGE
2015-02-21 22:00:12 +01:00
twinaphex
7268eab3e8
Create two more iteration phases for overlays
2015-02-21 09:26:52 +01:00
twinaphex
b064838da7
Call rarch_main_iterate_linefeed_overlay only when HAVE_OVERLAY is defined
2015-02-21 08:52:29 +01:00
twinaphex
b0fe8d719a
Make sure that it can restore the original overlay after we open/close OSK
2015-02-21 08:47:03 +01:00
twinaphex
50baeba22a
Fix race condition issue in threaded video mode when OSK is
...
brought up/down
2015-02-21 08:42:19 +01:00
twinaphex
61bbb2a3fb
Start making overlay loading 'deferred'
2015-02-21 07:29:13 +01:00
twinaphex
2f63b75697
Move rewind state variables in struct
2015-02-16 18:09:00 +01:00
twinaphex
37a541e8a0
Restructure some settings in g_extern
2015-02-16 17:52:58 +01:00
twinaphex
41d3657b5d
Start creating directory content scanning - nonblocking I/O not
...
yet implemented
2015-02-16 07:53:27 +01:00
twinaphex
939b78753a
Get rid of messy 'pending cb' code - instead use
...
string lists
2015-02-16 05:44:43 +01:00
twinaphex
207181135c
Create input_driver_keys_pressed
2015-02-15 01:19:06 +01:00
twinaphex
94856393a9
Change signature of check_block_hotkey
2015-02-15 01:03:19 +01:00
twinaphex
6575c9a344
Don't do conditional inside for loop
2015-02-15 00:34:14 +01:00
twinaphex
01bed976e1
input_keys_pressed - cleanup
2015-02-15 00:27:33 +01:00
twinaphex
7df7201b31
Go through menu_driver_resolve
2015-02-13 23:41:34 +01:00
Alcaro
28e2ca74e7
Double semicolons aren't useful.
2015-02-10 22:29:26 +01:00
twinaphex
521548c99b
Take out pretro_run conditional since it didn't solve issue anyway
2015-02-10 21:18:47 +01:00
twinaphex
3b365bb0d7
Put conditional around pretro_run
2015-02-10 20:43:38 +01:00
twinaphex
f507e78765
Create do_pause_state_checks
2015-02-10 19:07:53 +01:00
twinaphex
35bf937325
Create do_netplay_state_checks
2015-02-10 19:04:02 +01:00
twinaphex
6f165b6801
Create video_driver_set_shader
2015-02-10 17:20:02 +01:00
twinaphex
820595379e
Create video_driver_has_focus
2015-02-10 17:14:40 +01:00
twinaphex
81ca20c9b5
Create wrapper function for 'is video alive'
2015-02-10 16:54:08 +01:00
twinaphex
5921f8055d
Refactor this
2015-02-10 16:50:41 +01:00
twinaphex
d98cd5a680
runloop.c - create check_video_alive - try to prevent segfaults
...
at all costs
2015-02-10 16:46:49 +01:00
twinaphex
23640fd12e
input_keys_pressed - do early return in case driver.input
...
or driver.input_data is NULL
2015-02-10 16:38:47 +01:00
twinaphex
524f754ec3
Core Update Manager works again when HAVE_NETWORKING is defined -
...
enygmata jumped the gun with refactoring the HAVE_NETPLAY define
2015-01-28 08:55:02 +01:00
twinaphex
49a2bce941
Cleanups - move input code to menu_input.c
2015-01-27 01:29:33 +01:00
twinaphex
fe3615ba22
Fix Android warnings
2015-01-24 01:39:55 +01:00
twinaphex
5e0c3ed403
Log failure
2015-01-23 23:54:18 +01:00
twinaphex
728d1723b4
Remove callback from net_http.c code
2015-01-23 23:28:32 +01:00
twinaphex
d8cba9c675
Should hopefully fix problems
2015-01-23 22:16:25 +01:00
twinaphex
ca67cd7cce
Change variable name from w to data
2015-01-23 22:12:55 +01:00
twinaphex
5ff7bd53be
Start implementing new http code
2015-01-23 22:00:11 +01:00
twinaphex
025791f95a
Add some documentation to http iterate functions
2015-01-23 20:27:41 +01:00
twinaphex
77eb7b262e
Start adding HTTP transfer mechanism to runloop
2015-01-23 20:23:12 +01:00
Twinaphex
a5b306406c
More documentation
2015-01-18 09:25:48 +01:00
twinaphex
7198d658bb
Some control flow changes in rarch_main_iterate
2015-01-11 18:04:42 +01:00