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
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
twinaphex
a3a5a82d47
(GL) doesn't access global state anymore
2015-11-18 03:08:19 +01:00
Andre Leiradella
b6f995a1d7
moved the async job queue to the global_t scope
2015-11-08 22:53:17 -02:00
twinaphex
02a43c6b2a
Change 'rarch' to 'retro' namespace in libretro-common
2015-10-26 03:18:13 +01:00
twinaphex
9eb077088f
Move bind_mode_keyboard variable to menu_input
2015-10-22 22:44:44 +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
cdf597aa89
Add settings->overlay_directory
2015-09-26 19:21:32 +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
36b3576f20
Add more RARCH_MAIN_CTL_ enums
2015-09-26 14:57:46 +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
576626ead0
Refactor frame_is_reversed - shader drivers should no longer
...
be dependent upon global state
2015-09-16 11:14:43 +02:00
twinaphex
fdd1d3ee9f
Pass sleep_ms argument to rarch_main_iterate
2015-08-27 14:52:02 +02:00
twinaphex
4e03865a78
Cleanup
2015-08-27 14:09:32 +02:00
radius
52d9d46f2f
populate system dir correctly when content dir when it's empty
2015-08-19 19:21:09 -05: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
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
1e344bc85c
Revert "Take turbo_enable array out of global struct"
...
This reverts commit 821688f976
.
2015-08-03 23:40:01 +02:00
twinaphex
821688f976
Take turbo_enable array out of global struct
2015-08-03 23:34:13 +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
403e32ca5f
Get rid of lifecycle_state in runloop struct
2015-07-10 18:54:58 +02:00
radius
d09490789a
implement wii resolution saving
2015-07-06 00:29:51 -05:00
twinaphex
eda5ca7a66
Create rarch_main_msg_queue_push_new
2015-07-01 01:49:32 +02:00
twinaphex
b96e02db75
Create runloop_msg.c
2015-07-01 01:19:14 +02:00
twinaphex
b400597a4c
Move title_buf to rarch_system_info_t
2015-06-25 14:30:32 +02:00
twinaphex
732d2db40e
Divorce system info from global runloop state entirely
2015-06-25 13:50:52 +02:00
twinaphex
67ffbe7cef
Move structure over to system.h
2015-06-25 12:22:38 +02:00
twinaphex
ac2a13a136
Use rarch_system_info_get_ptr
2015-06-25 11:02:01 +02:00
twinaphex
faead5c250
Create rarch_system_info_get_ptr
2015-06-25 10:51:05 +02:00
twinaphex
6f1bc69fc7
Refactor libretro_dummy mechanics
2015-06-20 23:42:30 +02:00
twinaphex
5558fdd085
Get rid of global dependency for video_viewport_get_custom
2015-05-20 23:13:39 +02:00
twinaphex
b363060262
Move frame_cache from global state to video driver state
2015-05-20 21:36:08 +02:00
twinaphex
d2b76a7d13
Move pix_fmt to video_state
2015-05-20 20:59:12 +02:00
twinaphex
197820c797
Move filter state code to video_state and out of global
2015-05-20 20:49:52 +02:00
twinaphex
a81baed9e2
Move hw_render_callbakc to video driver state and take it out
...
of global state
2015-05-20 19:56:12 +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
b255b5a325
Create video_driver_set_aspect_ratio_value and video_driver_get_aspect_ratio
2015-05-20 18:24:45 +02:00
twinaphex
533a0b7f7f
Move frame_time_samples to video_driver.c
2015-05-20 05:35:41 +02:00
twinaphex
415a983705
Move buffer_free_samples variables to audio_driver.c
2015-05-20 05:27:53 +02:00
twinaphex
684b9decb0
(Video driver) Cleanups - no longer depend on global pointer for
...
video width/height
2015-05-20 02:55:04 +02:00
twinaphex
398570f017
Move audio callback to audio_driver.c
2015-05-19 21:35:40 +02:00
twinaphex
4afc100924
Move audio_data out of global struct to prevent threading issues
2015-05-19 21:18:07 +02: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
twinaphex
a014f2db88
Move framebuffer is dirty and other menu-related state flags
...
to menu_handle_t
2015-05-11 18:46:06 +02:00
twinaphex
9b9e65abf3
Start using video_driver_get_frame_count
2015-05-09 16:04:12 +02:00
twinaphex
b6fbf5a335
(Menu) Start getting rid of gl->win_width/gl->win_height and start
...
creating global->video_data.width and global->video_data.height
which should be used instead in menu drivers
2015-04-26 05:21:43 +02:00
twinaphex
23b9a3ee47
Add 'use_output_directory'
2015-04-15 12:42:36 +02:00
twinaphex
a89f70c4d8
Start adding Recording Settings - stub/unfinished/non-working
2015-04-14 21:13:54 +02:00
twinaphex
7c47695f37
(UI CocoaTouch) Implement toggle
2015-04-13 01:55:35 +02:00
radius
507ec17261
make the override function smarter, now it will return true if overrides have loaded and false otherwise (including on error)
...
move pretro_set_environment(rarch_environment_cb); further down since it wouldn't have achieved the desired effect in that location
added a function to restore the original configuration when unloading the core so overrides won't affect the main config
2015-04-06 19:54:58 -05:00
twinaphex
c7e78d48d5
Create runloop_data.h
2015-03-24 13:45:53 +01:00
twinaphex
ba938da348
Fixes segfault with environ SHUTDOWN with prboom
2015-03-23 23:40:36 +01:00
twinaphex
4b8de58878
Rename functions
2015-03-22 03:41:20 +01:00
twinaphex
7e7a42ec21
Reimplement rarch_main_state_free
2015-03-21 19:43:46 +01:00
twinaphex
bff038b282
Fix configuration.h header includes
2015-03-21 07:05:08 +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
0a5de72318
Move stuff over to runloop.h
2015-03-21 01:59:47 +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
7378299282
Create rarch_main_get_ptr
2015-03-18 06:47:22 +01:00
twinaphex
8fd08bb6fe
Move internal struct definition to runloop_data.c
2015-03-18 05:50:37 +01:00
twinaphex
d191886b6c
Don't expose g_data_runloop to outside
2015-03-18 05:36:36 +01:00
twinaphex
dc17a30f17
Create rarch_main_data_clear_state
2015-03-18 05:35:05 +01:00
twinaphex
2e075db519
Comment out empty struct
2015-03-16 18:08:24 +01:00
twinaphex
4729da05bd
(runloop_data.c) Add DATA_TYPE_OVERLAY
2015-03-15 07:07:59 +01:00
twinaphex
27367a733b
(runloop_data.c) Create rarch_main_data_msg_queue_push
2015-03-15 06:41:04 +01:00
twinaphex
d6072b5044
Change runloop structs
2015-03-15 06:30:37 +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
00239a30d6
Create wrapper functions for passing a message to the runloop's
...
message queue
2015-03-15 02:47:23 +01:00
twinaphex
96ae2e9882
Move code over to runloop.h
2015-03-15 02:00:11 +01:00
twinaphex
0e85b11046
(runloop data) Properly namespace everything in runloop_data.c
2015-03-14 15:50:34 +01:00
twinaphex
a33b06291d
Split up NBIO/HTTP/image loading code to runloop_data.c
2015-02-23 02:54:14 +01:00
twinaphex
9778801335
Start documenting overlay.c
2015-01-10 00:59:05 +01:00
twinaphex
76c392718f
Create runloop.h
2015-01-09 18:40:33 +01:00