Commit Graph

805 Commits

Author SHA1 Message Date
twinaphex
b21c3c460a Move rarch_main_data_free to RARCH_CMD_PREPARE_DUMMY 2015-03-23 06:54:39 +01:00
twinaphex
0d164162fc Create input_driver_grab_mouse 2015-03-23 04:31:11 +01:00
twinaphex
71e927020c Create input_driver_poll 2015-03-23 03:17:43 +01:00
twinaphex
dc46785c14 Create more audio wrapper functions 2015-03-23 02:44:49 +01:00
twinaphex
4a3507adc1 Create audio_driver_alive 2015-03-23 02:36:13 +01:00
twinaphex
724c809ca5 Create video_driver_apply_state_changes 2015-03-23 00:42:55 +01:00
twinaphex
636fd426f6 Create set_texture_enable wrapper function 2015-03-22 18:59:16 +01:00
twinaphex
6e91eed664 Create more wrapper functions 2015-03-22 18:48:24 +01:00
twinaphex
71dcc021a7 Create wrapper functions for video driver functions 2015-03-22 18:38:11 +01:00
twinaphex
4a46a8c5d7 Create video_driver_set_nonblock_state 2015-03-22 10:25:51 +01:00
twinaphex
3a31d67fae (retroarch.c) Style nits 2015-03-22 08:39:26 +01:00
twinaphex
b6106fc50f Cleanups 2015-03-22 07:28:45 +01:00
twinaphex
c4afb2a154 Create video_driver_has_windowed 2015-03-22 07:20:55 +01:00
twinaphex
67c8c3a5e7 Create menu_driver_toggle 2015-03-22 06:02:02 +01:00
twinaphex
4b8de58878 Rename functions 2015-03-22 03:41:20 +01:00
twinaphex
a57abb74dc Rename some functions 2015-03-22 03:32:28 +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
06d643adaa (retroarch.c) Fix potential segfault in rarch_main_command 2015-03-21 23:43:00 +01:00
twinaphex
54b0125f88 Deinitialize drivers in rarch_main_state_free 2015-03-21 20:10:14 +01:00
twinaphex
7e7a42ec21 Reimplement rarch_main_state_free 2015-03-21 19:43:46 +01:00
twinaphex
83947f473b Split up rarch_main_state_new into two - rarch_main_state_alloc
allocates all state, rarch_main_state_new actually 'initializes'
the drivers, etc.
2015-03-21 19:31:38 +01:00
twinaphex
323475c516 Create RARCH_CMD_VOLUME_UP/RARCH_CMD_VOLUME_DOWN 2015-03-21 09:25:21 +01:00
twinaphex
f1fe7559bc Put g_extern on heap 2015-03-21 06:17:03 +01:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
533c5c0eb1 Create rarch_main_global_init/rarch_main_global_deinit 2015-03-21 01:53:14 +01:00
twinaphex
80840cac0c Put g_config on heap 2015-03-21 01:47:06 +01:00
twinaphex
a66c72e875 Get rid of g_config references in retroarch.c 2015-03-21 01:32:57 +01:00
twinaphex
45cf71770e Rename g_settings to g_config - to prevent conflicts, had to rename
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
Twinaphex
5900492aeb (retroarch.c) Cleanups 2015-03-21 01:05:32 +01:00
twinaphex
9f6cb1bca7 Rename settings.c to configuration.c 2015-03-21 00:42:09 +01:00
twinaphex
e4ffbf0008 Update retroarch.c 2015-03-20 20:20:33 +01:00
twinaphex
d2c97de070 Move net_compat/net_http to libretro-common 2015-03-20 17:56:00 +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
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