Commit Graph

220 Commits

Author SHA1 Message Date
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