Commit Graph

772 Commits

Author SHA1 Message Date
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
dc17a30f17 Create rarch_main_data_clear_state 2015-03-18 05:35:05 +01:00
twinaphex
31da3a5075 Teardown/setup code still very delicate to rearrange - restore
to original
2015-03-15 06:50:08 +01:00
twinaphex
c569345fc5 Get rid of LOG_FILE_DEINIT in rarch_main_state_free - already
done in leaf function
2015-03-15 04:21:26 +01:00
twinaphex
d146fed5c3 Get rid of useless additional extra function 2015-03-15 04:19:26 +01:00
twinaphex
c7d4e63b83 Create clear_main_state_extern_global and group all deallocations/frees
of g_extern to this function
2015-03-15 04:17:05 +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
761177a885 Update more old code to go through the new wrapper function 2015-03-15 02:59:38 +01:00
twinaphex
96ae2e9882 Move code over to runloop.h 2015-03-15 02:00:11 +01:00
Higor Eurípedes
af611934c4 (Menu) Set dirty bit in RARCH_CMD_REINIT 2015-03-08 18:25:00 -03:00
Twinaphex
9027b35eb8 rarch_render_cached_frame - do early return if g_runloop.is_idle
is true - reduces CPU activity in iOS Cocoa menu substantially
(from 96% CPU to 16%)
2015-03-08 01:58:19 +01:00
twinaphex
43a113ee8d Create RARCH_CMD_LOAD_CORE_DEINIT 2015-03-07 14:54:04 +01:00
twinaphex
443b6e1ec8 Make rarch_update_system_info static 2015-03-07 14:48:18 +01:00
twinaphex
817c4d3d91 Add RARCH_CMD_LOAD_CORE_PERSIST 2015-03-07 14:45:16 +01:00
twinaphex
e4abe6f0bf Simplify menu_update_libretro_info 2015-03-07 14:38:05 +01:00
twinaphex
c45d3f60a1 (runloop) Move data sources to struct 2015-03-07 14:12:41 +01:00
twinaphex
f2d2e9a4f1 Reorganize recording variables in global struct 2015-03-07 14:02:50 +01:00
Twinaphex
bd5695f8a4 Merge pull request #1419 from SuperrSonic/master
(GX) Force aspect ratio idx to work on startup
2015-03-07 13:56: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
234c24c3b3 Move struct image to nbio 2015-02-24 08:40:20 +01:00
twinaphex
f233ccb141 Start making rnbio_handle chain 2015-02-22 07:34:33 +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
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
SuperrSonic
28a59a162b (GX) Force aspect ratio idx to work upon loading content wih args 2015-02-16 06:33:15 -04:00
twinaphex
be5f3254ba Start implementing video softfilters - move it to Video Options 2015-02-15 18:26:59 +01:00
twinaphex
6815604d70 Don't access driver.menu directly 2015-02-13 23:30:10 +01:00
twinaphex
4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex
c3fdd42fb0 Refactor menu 2015-02-11 21:15:39 +01:00
twinaphex
889860f791 Create audio_driver_mute_toggle 2015-02-10 21:16:26 +01:00
twinaphex
1805068440 Move rarch_recording_dump_frame to record_driver.c and rename it 2015-02-10 21:09:41 +01:00
twinaphex
b5480372a1 Move screenshot code to screenshot.c and out of retroarch.c 2015-02-10 20:58:33 +01:00
twinaphex
3880856c94 Make rarch_defer_core more robust for 'load_game' 2015-02-10 03:05:58 +01:00
twinaphex
9efc11045d rarch_update_system_info - simplify 2015-02-10 02:59:01 +01:00
Jean-André Santoni
f24bdb1cbf (Menu) No more core_info manipulation on the menu driver side. Instead, we ensure that core_info is inited before menu init, and call context reset after core info update. 2015-02-05 00:39:59 +01:00
twinaphex
ed7da3f632 Get rid of last param to keyboard_input_event 2015-01-29 23:12:42 +01:00
twinaphex
d327863d0f Only carry one input overlay state 2015-01-29 22:54:42 +01:00
twinaphex
0ea6a28b6b Due to limitations in how the input overlay driver talks
back to the video driver, we can only have one active overlay
state running at a time. So build around this
2015-01-29 20:57:44 +01:00
twinaphex
28f6922520 Cleanups 2015-01-29 20:51:07 +01:00
twinaphex
fc373630ce Start to approach OSK driver in a different way 2015-01-29 20:33:27 +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
Jean-André Santoni
22119d0e7f Notify the menu driver when the menu is going to be toggled, implement progressive menu fade in 2015-01-26 23:45:16 +01:00
twinaphex
5419757c40 Add input remapping saving/loading 2015-01-24 23:42:31 +01:00
twinaphex
77eb7b262e Start adding HTTP transfer mechanism to runloop 2015-01-23 20:23:12 +01:00
twinaphex
f790216a41 Add RARCH_CMD_NETWORK_INIT and RARCH_CMD_NETWORK_DEINIT.
Run RARCH_CMD_NETWORK_INIT before entering Core Manager option.
Needed on Windows where we need to call WSAStartup to initialize Winsocks
first before we can do any network stuff
2015-01-21 20:44:40 +01:00