Commit Graph

610 Commits

Author SHA1 Message Date
aliaspider e23b39d2b5 (task_database_cue) ps1 scanning: the boot entry isn't always the first
one in SYSTEM.CNF
2016-06-03 20:09:23 +01:00
twinaphex d6d757e240 Cleanups 2016-06-03 19:06:24 +02:00
twinaphex 7d30885ab9 Cleanup 2016-06-03 19:02:19 +02:00
twinaphex 8595e4cf75 task_push_content_load_default - cleanups 2016-06-03 18:59:57 +02:00
twinaphex f675c5fdc7 task_push_content_load_default - simplify code a bit 2016-06-03 18:45:09 +02:00
twinaphex 6628da2646 Create CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_COMPANION_UI 2016-06-03 18:43:05 +02:00
aliaspider 748a913a6d (task_database_cue) more ps1 scanning fixes. 2016-06-03 11:36:48 +01:00
aliaspider 87788f0ffb (task_database_cue) ps1 scanning fix. 2016-06-03 10:46:55 +01:00
twinaphex 34ad3bd103 Cleanups 2016-06-03 05:24:21 +02:00
twinaphex d9ba04e470 Fix CXX_BUILD 2016-06-03 02:43:30 +02:00
mudlord 4c53bdf4f9 add drag and drop 2016-06-03 09:14:53 +10:00
twinaphex 29ca5b8c34 Fix some unchecked return value issues 2016-06-02 22:49:26 +02:00
twinaphex 65d5ebc2bb Fix some dereference after null check warnings 2016-06-02 20:40:51 +02:00
twinaphex 1f3790fafa Fix statement is unreachable warning 2016-06-01 05:59:17 +02:00
twinaphex 36106dd90a C89_BUILD fix 2016-06-01 05:58:22 +02:00
twinaphex da6ac4aae7 Fix explicit NULL dereferenced warnings 2016-06-01 04:05:14 +02:00
twinaphex 9bb8c41ff6 Fix uninitialized scalar variables warnings 2016-06-01 03:23:38 +02:00
twinaphex ffdad57318 Fix double frees and resource leaks 2016-06-01 02:40:58 +02:00
twinaphex 5b52098c54 Reimplement verbosity 2016-05-31 04:42:04 +02:00
Diablodiab d7bfe70ca1 Check if content has been passed to core even if the core does not need content.
Only start without content if no content has been passed.

This fixes a problem with cores that are both able to start with or without
content, eg. ScummVM.
2016-05-30 00:19:05 +02:00
twinaphex e222df4eb6 Fix LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU 2016-05-29 05:36:41 +02:00
twinaphex 78b208c441 Get rid of settings variable 2016-05-29 00:19:04 +02:00
twinaphex eafb235e66 Cleanups 2016-05-29 00:03:15 +02:00
twinaphex bf6fa07b25 Cleanups 2016-05-28 23:56:07 +02:00
twinaphex 2859f6f18d Cleanup 2016-05-28 23:53:13 +02:00
twinaphex efaf6e10ee Cleanups 2016-05-28 23:48:32 +02:00
twinaphex fdb218f64e We don't have to call task_load_core for ffmpeg/imageviewer paths 2016-05-28 23:40:58 +02:00
twinaphex e0885a71e3 Remove core_path lines from ffmpeg/imageviewer paths 2016-05-28 23:39:04 +02:00
twinaphex 383a5968cc Create task_push_quick_menu 2016-05-28 23:34:21 +02:00
twinaphex f8ed8ebde4 Create task_load_core 2016-05-28 23:20:43 +02:00
twinaphex 1b0c224c02 Create task_load_content 2016-05-28 23:16:57 +02:00
twinaphex 2b5aae8a21 Add this too 2016-05-27 21:41:14 +02:00
twinaphex 828b9c6c46 task_content.c - can now reach this code 2016-05-27 21:25:42 +02:00
twinaphex 954aaa3fc6 More preparatory work for net retropad core 2016-05-27 21:16:25 +02:00
twinaphex c0d86cd8d3 Ifdef autosave code for HAVE_THREADS 2016-05-27 20:43:55 +02:00
twinaphex e8eb0ef013 Change invocation of task_content_push 2016-05-27 19:34:07 +02:00
twinaphex c16cae7ef9 Create retroarch_set_current_core_type 2016-05-27 19:26:45 +02:00
twinaphex ccd5b2f73d Add 'Start Remote Gamepad' entry 2016-05-27 19:18:46 +02:00
twinaphex 7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex 534c923b6b Remove autosave.c 2016-05-27 17:52:20 +02:00
twinaphex a6f95b307f Silence warnings 2016-05-27 17:24:54 +02:00
Andre Leiradella d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
Jean-André Santoni 72e67acec0 (Menu) Fixes a menu toggle bug 2016-05-26 22:45:01 +02:00
twinaphex 03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex e297da1b71 Take out this call to prevent another memory leak 2016-05-26 17:34:44 +02:00
twinaphex 4f98cf05f4 Fix uninitialized scalar variable warnings 2016-05-26 17:32:27 +02:00
twinaphex 0f954fd4c8 Resource leaks fixes (catched by Coverity) 2016-05-26 17:26:55 +02:00
Sebastien Ronsse 5366e88d1b task overlay: Fix memory leak caused by overlay being loaded multiple times 2016-05-26 16:14:34 +10:00
Twinaphex f0157dea52 Merge pull request #3033 from sronsse/fixes_for_team
task image: Fix memory leak occurring for images loading non-progress…
2016-05-26 06:51:57 +02:00
twinaphex ebc8edd2bf Fix CXX_BUILD 2016-05-26 06:46:57 +02:00
twinaphex 20cc877ad3 (PS3) Cleanup warnings 2016-05-26 06:41:28 +02:00
Sebastien Ronsse 093b009422 task image: Fix memory leak occurring for images loading non-progressively 2016-05-26 14:32:25 +10:00
twinaphex 8c106eb010 Allocate name_base memory and free it again 2016-05-25 02:25:09 +02:00
twinaphex 581f53a7c2 (task_screenshot.c) Grab global pointer only once 2016-05-25 02:23:54 +02:00
twinaphex 42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex ec88b464c3 Silence 'side effect in assertion' warnings 2016-05-24 21:51:45 +02:00
Twinaphex 1fe1b2318a (task_image.c) Cleanup handle which could leak 2016-05-24 20:04:49 +02:00
twinaphex 1b35da2bd8 Cleanup load_images upon task cancellation 2016-05-24 13:35:09 +02:00
twinaphex 811f4f59de (task_overlay.c) Cleanups 2016-05-24 13:31:28 +02:00
twinaphex 1b9e222e6e (task_overlay.c) Another rewrite 2016-05-24 03:25:23 +02:00
twinaphex b58b002501 (task_overlay.c) Rewrite 2016-05-24 03:18:29 +02:00
twinaphex 41b6b82b24 Cleanups 2016-05-24 03:02:40 +02:00
twinaphex 690530e7aa (task_overlay.c) Implement cleanup callback 2016-05-24 02:57:37 +02:00
twinaphex 0f42249dd5 Cleanups 2016-05-24 02:55:27 +02:00
twinaphex 47c2b9ed43 (task_overlay.c) Cleanups 2016-05-24 02:39:37 +02:00
twinaphex 334cbd55d8 Cleanups 2016-05-24 02:33:38 +02:00
twinaphex 9bea4deac0 Cleanup 2016-05-24 02:29:43 +02:00
Twinaphex 497e424fc1 Cleanup 2016-05-24 02:23:00 +02:00
twinaphex 28ef2201cd (task_overlay.c) Cleanups 2016-05-24 02:21:49 +02:00
twinaphex 8f054aeb29 (task_overlay.c) Cleanup 2016-05-24 02:17:38 +02:00
Torsten Paul 30e9cc1f10 Ensure memory is not used after free(). 2016-05-23 22:41:24 +02:00
Torsten Paul 845dcef6ab Add cleanup handler for tasks to free allocated resources after the task finished. 2016-05-23 22:36:29 +02:00
twinaphex d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex 974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex faef7b498d (Coverity) Fix some resource leaks 2016-05-23 21:28:43 +02:00
twinaphex 0a3224180b (Coverity) Fix uninitialized variables; fix some resource leaks 2016-05-23 21:19:28 +02:00
twinaphex 57f797dad6 Cleanup 2016-05-21 13:16:48 +02:00
twinaphex fec5aca60b Revert "(task_image.c) Nits"
This reverts commit 94a9e7b923.
2016-05-20 21:03:42 +02:00
twinaphex 94a9e7b923 (task_image.c) Nits 2016-05-20 20:04:07 +02:00
twinaphex fe516b0d01 Change type of status 2016-05-20 19:32:09 +02:00
Twinaphex 67e1e5a9d0 (task_image.c) Prevent null pointer dereference 2016-05-19 02:09:56 +02:00
twinaphex 0c2958e384 (task_image.c) Style nit 2016-05-19 00:16:30 +02:00
twinaphex bebcc1c274 Move macros to task_image.c 2016-05-19 00:07:49 +02:00
twinaphex 2116c0cc4e Move typedef to task_image.c 2016-05-19 00:06:52 +02:00
twinaphex 824315865f Move http_transfer_info to task_http.c 2016-05-19 00:04:38 +02:00
twinaphex ae478b71b7 (rarch_task_push_image) Call rarch_task_image_load_free 2016-05-18 23:57:35 +02:00
twinaphex e59cd92108 rarch_task_image_load_free_internal - Run image_texture_free 2016-05-18 23:38:51 +02:00
twinaphex ad78fddf4e Move image allocation to task_image.c 2016-05-18 23:28:03 +02:00
twinaphex cb4db5c5ab Don't be dependent on nbio->image inside task_file_transfer 2016-05-18 23:14:07 +02:00
twinaphex d53b245528 Cancel task instead 2016-05-18 17:37:43 +02:00
twinaphex 7aadde73d8 Handle cb return error code for task cancellation 2016-05-18 17:32:39 +02:00
Twinaphex 3cf591ec09 (tasks/task_image.c) refactor cb_nbio_image_menu_thumbnail 2016-05-18 17:27:05 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex 9bc11731fb Start reimplementing TGA image load support 2016-05-18 10:52:23 +02:00
twinaphex 492dd59164 Hook up BMP image loading - color channels swapped - RGBA to ARGB
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex 2559139154 Cleanup tasks_save_ram.c 2016-05-17 15:32:50 +02:00
twinaphex 4a0334b4fa Turn content_push_to_history_playlist to static function 2016-05-17 15:22:26 +02:00
twinaphex 9b421948e4 Create tasks/task_save_state.c 2016-05-17 15:21:09 +02:00
twinaphex 81c7a8ac04 Create task_save_ram.c 2016-05-17 15:18:03 +02:00
twinaphex 86a82a47f6 (task_screenshot.c) Another cleanup 2016-05-17 15:04:28 +02:00
twinaphex df3547c65f (task_screenshot.c) Another cleanup 2016-05-17 15:03:17 +02:00
twinaphex 679c0e829c Cleanup 2016-05-17 15:02:25 +02:00
twinaphex 07c56b4340 (task_screenshot.c) Cleanup 2016-05-17 15:00:46 +02:00
twinaphex 747bac1cca task_screenshot.c - cleanups 2016-05-17 15:00:18 +02:00
twinaphex 146d2c8a1d Rename screenshot.c to tasks/task_screenshot 2016-05-17 14:31:33 +02:00
twinaphex 5555d18a52 Cleanup 2016-05-17 14:24:43 +02:00
twinaphex a5cf78fd68 only bind to menu_environment_get when content_info->environ_get is
NULL
2016-05-17 10:35:57 +02:00
Twinaphex b83e43e8ce Fix 'Close Content' when menu is active 2016-05-17 10:15:43 +02:00
Twinaphex 52937d4b02 Fix CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_COMPANION_UI 2016-05-17 09:14:18 +02:00
twinaphex fcf2decb2e Remove persist argument 2016-05-17 09:07:41 +02:00
Twinaphex 47cb3b899a Fix deferred content loaded from menu 2016-05-17 08:53:25 +02:00
twinaphex e2e53026aa rarch_main - reduce a lot of code duplication 2016-05-17 08:19:50 +02:00
twinaphex 80ce237878 (HAVE_MENU not defined) Buildfixes 2016-05-17 08:02:13 +02:00
twinaphex 6c9715027f Add HAVE_MENU ifdefs 2016-05-17 07:53:38 +02:00
twinaphex 0d850b9bda Improve content_load_wrapper - pushing to the history list should work again 2016-05-17 07:36:18 +02:00
twinaphex e10270d459 Delete runloop_prepare_dummy 2016-05-16 17:19:16 +02:00
twinaphex d681d30249 Move code to task_content.c 2016-05-16 17:14:05 +02:00
twinaphex fa5971737e Implement CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE 2016-05-16 17:07:11 +02:00
twinaphex 6305f12ba2 Turn content_load function static 2016-05-16 16:44:34 +02:00
twinaphex 722eb5a69c Move content.c code to task_content.c 2016-05-16 16:42:33 +02:00
twinaphex 18a991e014 rarch_main - use rarch_task_push_content_load 2016-05-16 16:38:27 +02:00
twinaphex 3e91a4bb68 Rename menu_content_load to content_load_wrapper 2016-05-16 16:32:18 +02:00
twinaphex f70dc77a61 Pass content_ctx_info_t pointer to rarch_task_push_content 2016-05-16 16:25:16 +02:00
twinaphex 3678c4e72a menu_content_load - cleanups 2016-05-16 15:17:28 +02:00
twinaphex 9c33d91e68 Refactor content task code 2016-05-16 15:09:04 +02:00
twinaphex a687c47f7e Move command_event_cmd_exec to tasks/task_content.c 2016-05-16 14:58:08 +02:00
twinaphex 923d0a879b Reimplement menu_content_load_from_playlist 2016-05-16 14:54:26 +02:00
twinaphex 75160c6524 Reimplement task_content.c 2016-05-16 14:44:28 +02:00
twinaphex 4d30d931fe Move some logic to rarch_task_push_content_load_default 2016-05-16 14:33:50 +02:00
twinaphex 3cb26268ee Start writing rarch_task_push_content_load_default 2016-05-16 14:27:11 +02:00
twinaphex d4732d048e Start adding switch 2016-05-16 14:23:13 +02:00
twinaphex fe2eb7f4c1 Add mode to rarch_task_push_content_load_default to make
it explicit what each call does
2016-05-16 14:20:26 +02:00
twinaphex cb22859250 Add content_mode_load 2016-05-16 14:10:56 +02:00
twinaphex 57fedb9fa8 Use rarch_task_push_content_load_default 2016-05-16 13:43:14 +02:00
twinaphex 9846aeb53a Remove unused variable 2016-05-16 13:02:47 +02:00
twinaphex 6ef0b86e30 Reimplement content loading - task_content_load 2016-05-16 12:51:55 +02:00
twinaphex 449c7483cd Rename content_playlist_ to playlist_ 2016-05-16 09:07:44 +02:00
twinaphex cd0b925fa1 Try to see if this gets us past the crash 2016-05-14 06:00:53 +02:00
twinaphex 9e1276d76f (MSVC) Buildfixes 2016-05-14 01:32:05 +02:00
twinaphex f8e99403a4 Cleanups 2016-05-14 00:48:40 +02:00
twinaphex 42adb48d9c (task_image.c )Cleanups 2016-05-13 15:18:40 +02:00
twinaphex acbc9116e3 Turn nbio_image_handle_t member image into pointer 2016-05-13 15:00:44 +02:00
twinaphex fad7f8c1df Cleanups 2016-05-13 10:28:44 +02:00
twinaphex 7c1938b674 Rename task functions 2016-05-13 10:19:53 +02:00
twinaphex 025c51e4c9 (task_image.c) Rename functions 2016-05-13 10:13:36 +02:00
twinaphex bdf4a173f2 Remove file transfer frame_count 2016-05-13 10:10:54 +02:00
twinaphex a283923393 Get rid of image->frame_count 2016-05-13 10:10:23 +02:00
twinaphex f2912eb4c3 Cleanup 2016-05-13 09:22:29 +02:00
twinaphex 5068accc4e Start preparing image transfer for RJPEG 2016-05-13 08:50:50 +02:00