Commit Graph

270 Commits

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