Commit Graph

3970 Commits

Author SHA1 Message Date
Higor Eurípedes e56c8feec9 (menu_display.c) Improve fallback DPI logic 2015-12-07 12:28:22 -03:00
twinaphex b7982d9662 Cleanup 2015-12-07 16:14:36 +01:00
twinaphex 6664bf2522 Don't use menu_driver_get_ptr outside of menu/ files at all 2015-12-07 16:11:53 +01:00
twinaphex b0b35ba9e5 Remove more references to menu_driver_get_ptr outside of menu/ files 2015-12-07 16:00:48 +01:00
twinaphex 2daf9832a9 Create new function types 2015-12-07 15:54:06 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex 5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
Twinaphex c2e0e8d9fb (menu_entries.c) Less pointer grabbing 2015-12-07 07:13:18 +01:00
twinaphex 0d52b8ec3a Header include nits 2015-12-06 22:48:57 +01:00
twinaphex 4218ff7781 move elem0_path 2015-12-06 21:23:18 +01:00
twinaphex d84ffcc915 Attempt to make action_get_title_generic more robust 2015-12-06 21:22:19 +01:00
twinaphex 91cf0508fe core_info.c - Refactor 2015-12-06 20:44:21 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 883c2a172a Exclude performance.h from runloop.h 2015-12-06 19:10:58 +01:00
twinaphex 8829b27cd2 Create RARCH_MENU_CTL_SET_TEXTURE 2015-12-06 18:30:45 +01:00
twinaphex 99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
twinaphex bea3f938d9 RARCH_MENU_CTL_DESTROY: Make sure all static local variables are
set back to default state
2015-12-06 18:23:46 +01:00
twinaphex d1fa703991 Buildfix 2015-12-06 17:56:18 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 8e8f69bb69 Refactor away menu_driver_toggle 2015-12-06 17:41:00 +01:00
twinaphex 88a1f48cc3 Create RARCH_MENU_CTL_DESTROY 2015-12-06 17:15:32 +01:00
twinaphex 9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex c4d1f2c49d Get rid of some implicit memsets for font_params local variables 2015-12-06 14:46:50 +01:00
twinaphex 39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
Higor Eurípedes e18e4494e7 (menu) Fix heap overflow
Some struct video_shader fields have sizes defined by macros, menu.h and
video_shader_parse.h had different values for some of them. This
resulted in menu.c allocating a ~120KB struct video_shader while
video_shader_parse.c tried to memset() a ~150KB. For some reason this
was only triggered in 32bit environments.
2015-12-05 18:15:35 -03:00
twinaphex 5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 271975954f move camera_driver.h header incldue out of driver.h 2015-12-05 15:55:26 +01:00
twinaphex 19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +01:00
Twinaphex aac2ceba02 Don't set menu_driver_ctx yet to NULL at RARCH_MENU_CTL_DEINIT time 2015-12-05 14:03:39 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex 2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex 66582c3f06 Move variables to menu_driver.c and turn them staticc 2015-12-05 13:13:49 +01:00
twinaphex 688ddcfd9e Rename the two variables 2015-12-05 13:09:27 +01:00
twinaphex d3bc47c6dc Create RARCH_MENU_CTL_IS_SET_TEXTURE 2015-12-05 13:06:22 +01:00
twinaphex 841d6010a5 Create RARCH_MENU_CTL_DEINIT 2015-12-05 13:04:21 +01:00
twinaphex 3845df84ef Small buildfix 2015-12-05 13:01:15 +01:00
twinaphex 783881941a Create menu_driver_ctl 2015-12-05 13:00:45 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 978f05ef3b remove unused variables 2015-12-05 12:19:15 +01:00
twinaphex 78fef6422b Create font_driver_get_message_width 2015-12-05 12:17:58 +01:00
twinaphex df813ad58b Create font_driver_flush 2015-12-05 12:10:12 +01:00
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex 7246d219b6 Cut down on dependencies on driver->font_osd_driver 2015-12-05 11:48:06 +01:00
twinaphex 1c1ac91221 Don't need first param for menu_display_font_flush_block 2015-12-05 11:42:46 +01:00
twinaphex c5879028b3 Not sure why an empty handle was being passed to menu_display_font_bind_block 2015-12-05 11:40:49 +01:00
twinaphex a747af2687 Nothing was done with first param of menu_display_font_bind_block 2015-12-05 11:38:18 +01:00
twinaphex 44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex 4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex 63c12b0083 Don't include ui_companion_driver.h inside driver.h 2015-12-05 10:04:06 +01:00
twinaphex 29dcf06a2e Move ui_companion_driver code all to ui_companion_driver.c 2015-12-05 09:55:13 +01:00
twinaphex ddff980161 Remove unused variables 2015-12-05 09:14:55 +01:00
twinaphex f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex 5ed7c3abed Simplify call to main_load_content 2015-12-05 08:10:01 +01:00
twinaphex e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex 3b176eed6f move frame_time_last out of system_t struct and make it
a static local variable inside rarch_main_iterate
2015-12-04 12:26:39 +01:00
twinaphex d9ab26c6e0 Turn menu_animation_state into static local variable 2015-12-04 11:45:33 +01:00
twinaphex 526e41f271 Turn menu_input_state into static local variable 2015-12-04 11:43:42 +01:00
twinaphex fdfcbaa042 Backport/rewrites wmarquesr pt. 7.5 2015-12-04 11:08:12 +01:00
twinaphex b280d25f8a Backport/rewrites wmarquesr pt. 8 2015-12-04 11:06:33 +01:00
twinaphex 456252582e (menu_navigation.c) Turn static variable into local static variable 2015-12-04 03:26:48 +01:00
Higor Eurípedes f63468d783 Fix some potential null derefs 2015-12-03 21:22:29 -03:00
Jean-André Santoni a6d4e596bb (Menu) Fix a regression in menu_displaylist_parse_settings 2015-12-04 07:01:52 +07:00
Jean-André Santoni 5874805fe4 (Menu) Fix the empty setting list edge case. Prevents being stuck in an empty menu. Fixes #2509 2015-12-04 05:16:05 +07:00
twinaphex 584e0c5110 Prevent crash in Android 2015-12-03 21:37:52 +01:00
Jean-André Santoni bc602645c7 (Menu) Use float for icon coordinates, makes animations look smoother 2015-12-03 15:34:17 +07:00
twinaphex 317049cd25 (Android) We now use the built-in assets extraction inside RA to
extract the 'assets' dir from the APK, no more Java JNI library
for this
2015-12-02 06:22:04 +01:00
twinaphex 6062467d1b task_decompress.c - add code for handling subdir extraction from
zip archive - needed for APK extraction
2015-12-02 06:06:15 +01:00
twinaphex a59cee2521 Update bundle assets task call 2015-12-02 04:04:51 +01:00
twinaphex 0679916db1 Start setting up all the code needed for bundle assets
extraction
2015-12-02 03:55:28 +01:00
Twinaphex eb512d0caf Should fix input config label regression 2015-12-01 18:29:46 +01:00
twinaphex b056e809c3 Attempt to fix dispmanx issue for joolswills 2015-12-01 04:28:53 +01:00
twinaphex c5df156f23 Cleanups 2015-12-01 03:33:50 +01:00
twinaphex 2c2aaec107 Don't use global->cheat outside cheats.c 2015-12-01 03:07:16 +01:00
twinaphex e0ec68a73d Reduce references to global->cheat 2015-12-01 03:03:33 +01:00
twinaphex dbb3d8f770 Rewrite cheat code 2015-12-01 03:00:31 +01:00
twinaphex 39b8971fae Reduce references to global->cheat 2015-12-01 02:55:07 +01:00
twinaphex 8efb57f4bf Reduce scope of global->cheat 2015-12-01 02:49:27 +01:00
twinaphex b8eba00a7e Reduce scope of global->cheat 2015-12-01 02:46:43 +01:00
twinaphex 43abd39f6a Start limiting scope of global->cheat to cheats.c 2015-12-01 02:43:34 +01:00
twinaphex 04605f085c Create RUNLOOP_CTL_{PERFCNT} 2015-11-30 21:56:35 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex ca71e1a5bb Rename RARCH_ACTION_STATE_ to RARCH_CTL_ 2015-11-30 21:28:55 +01:00
twinaphex 1368897cd6 (Wii) Warning fixes 2015-11-30 19:34:34 +01:00
Higor Eurípedes 826e3d6262 (menu) Add bundle decompression stub 2015-11-30 12:36:49 -03:00
twinaphex bf66b43ecd Remove unused variable 2015-11-30 15:57:26 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
Higor Eurípedes cf0a493605 Add some task-related localized strings 2015-11-30 10:02:36 -03:00
Higor Eurípedes 7e156584ba (tasks) Add progress metter and task titles 2015-11-30 09:17:46 -03:00
twinaphex ec2b8c2c48 Cleanup 2015-11-30 05:38:00 +01:00
Twinaphex 98e6df93cb Automatically reinit after asset extraction succeeded for
CB_UPDATE_ASSETS
2015-11-30 05:36:36 +01:00
twinaphex 5d52f4856a Get rid of INLINE qualifier for some functions 2015-11-30 05:13:12 +01:00
twinaphex e2fde41124 Move current_msg to gfx/video_driver.c 2015-11-29 20:59:52 +01:00
twinaphex f7bb3650d9 Simplify driver_set_nonblock_state 2015-11-29 17:45:07 +01:00
twinaphex e8d6e48a74 Remove unused variables 2015-11-29 17:34:31 +01:00
twinaphex 6fd6288337 Move block_libretro_input to input_driver.c 2015-11-29 17:33:29 +01:00