Commit Graph

924 Commits

Author SHA1 Message Date
twinaphex
09e79d1fae Include retro_miscellaneous.h in general.h 2015-06-02 16:52:17 +02:00
twinaphex
d45b3474df Bump version up to 1.2 2015-05-21 00:36:26 +02:00
twinaphex
14505cc222 Create new rarch_main signature 2015-04-20 21:31:25 +02:00
twinaphex
96012b2eee Add early return to rarch_fail 2015-03-29 19:17:59 +02:00
twinaphex
0b456bac75 general.h - header include cleanups 2015-03-21 07:00:56 +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
80840cac0c Put g_config on heap 2015-03-21 01:47:06 +01:00
twinaphex
9f6cb1bca7 Rename settings.c to configuration.c 2015-03-21 00:42:09 +01:00
twinaphex
509c2d9be4 Move settings struct definition to settings.h 2015-03-20 19:15:08 +01:00
twinaphex
7be7a41532 Add setting option 'threaded data runloop enable' 2015-03-18 21:33:04 +01:00
twinaphex
569ab60e43 Use g_settings.menu.mouse.enable directly 2015-03-17 04:01:58 +01:00
twinaphex
4f25b67baa Rename 'content_directory' to 'core_assets_directory' so it's more
understandable. NOTE: Nobody ever used GET_CONTENT_DIRECTORY so it's
permissible to change it since nobody will be affected by the change
to GET_CORE_ASSETS_DIRECTORY
2015-03-16 02:59:30 +01:00
twinaphex
a944921453 Use INLINE in general.h and include retro_inline.h 2015-03-15 04:25:49 +01:00
twinaphex
fed47454e3 Move some header includes out of general.h 2015-03-15 03:24:00 +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
962a5d61b6 (Android) Fix Android build 2015-03-15 01:40:43 +01:00
Higor Eurípedes
fec88a5cb4 (Menu) Add font color settings 2015-03-14 19:22:06 -03:00
twinaphex
2103c13932 Fix Wii build 2015-03-14 21:32:48 +01:00
twinaphex
0e85b11046 (runloop data) Properly namespace everything in runloop_data.c 2015-03-14 15:50:34 +01:00
twinaphex
645c8bb0cc (Menu) Use separate iteration stepping for image processing 2015-03-14 03:58:35 +01:00
twinaphex
608df4f6de (Runloop) Nonblocking image processing 2015-03-14 03:49:59 +01:00
twinaphex
533f647fe0 (Image) Add 'is_blocking_on_processing' and 'is_finished_with_processing'
variables to nbio_image_handle_t
2015-03-14 03:07:17 +01:00
twinaphex
06dcd7543f (Image) Add texture image handle to nbio_image_t 2015-03-14 03:02:59 +01:00
twinaphex
97d8bc1488 Add cheats_dir to g_defaults 2015-03-13 00:24:17 +01:00
twinaphex
581bc22e19 (Menu) Toggle functions should trigger video state change since
a label is likely to be updated because of it
2015-03-08 17:16:21 +01:00
twinaphex
b5b59608dd Add three ways to indicate that the menu should update video -
(1) an animation is active, (2) a label has its contents updated (can be a message ticker or say an FPS monitor label being constantly updated, and (3) the menu framebuffer is 'dirty' (meaning its contents has changed and therefore we need to upload it again to the GPU.
2015-03-08 16:55:25 +01:00
twinaphex
5b3ab881ba Add g_runloop.is_idle 2015-03-08 01:48:40 +01:00
twinaphex
9627117166 Take out fps_monitor_enable 2015-03-07 23:03:56 +01:00
twinaphex
e86efd320c Create g_runloop.frame.video.current.menu.is_animated and
g_runloop.frame.video.current.menu.framebuf_dirty - will be used
to inform processes or runloops outside of RA's runloop that video update
needs to happen because of animations or video state changes
occurring.
2015-03-07 17:16:41 +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
be4d15f2df Move minimum_frame_time/last_frame_time to g_runloop 2015-03-07 13:43:31 +01:00
twinaphex
e39d5188a3 Move g_extern.measure_data to g_runloop.measure_data 2015-03-07 13:38:21 +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
Higor Eurípedes
5d1b6b4202 (menu) Add ADVANCED flags to some settings 2015-03-06 13:09:48 -03:00
twinaphex
26c10209bf Don't include rpng.h header for Salamander 2015-02-26 05:45:42 +01:00
twinaphex
5fb591ecf9 Make HTTP connection info code non-blocking 2015-02-26 05:35:58 +01:00
twinaphex
9cf5044430 Add frame_count to nbio and image 2015-02-26 00:50:34 +01:00
twinaphex
4ff8a4a6e9 Move stuff into typedef structs so that we can create mechanisms
for handling multiple file/image streams at once
2015-02-25 07:32:53 +01:00
twinaphex
717a92c698 Make image iteration nonblocking as well 2015-02-25 05:30:30 +01:00
twinaphex
234c24c3b3 Move struct image to nbio 2015-02-24 08:40:20 +01:00
twinaphex
2390e17fc7 (Overlay) Add some logic 2015-02-23 06:03:53 +01:00
twinaphex
68fe4bcec6 Start setting up image handling in runloop_data.c 2015-02-23 05:14:36 +01:00
twinaphex
b673321322 (nbio interface) Don't immediately free data buffer of nbio handle -
in the case of images we need to retain this data buffer until it's
time to free it. We set nbio_handle->is_blocking to true to indicate
to the nbio interface that we want to 'block' on the nbio interface
(i.e. don't free, iterate or create a new nbio transfer). If
nbio_handle->is_finished is set to true, we cleanup and free the
nbio transfer handle.
2015-02-22 08:24:10 +01:00
twinaphex
f233ccb141 Start making rnbio_handle chain 2015-02-22 07:34:33 +01:00
twinaphex
98b0728604 Start setting up some code in preparation for non-blocking image
loading
2015-02-22 06:35:02 +01:00