Commit Graph

933 Commits

Author SHA1 Message Date
radius e0989d0b9e make state screenshots non-gpu 2016-12-11 12:30:20 -05:00
twinaphex a5a594f619 Don't push screenshot to image history if we are just saving
a state
2016-12-11 10:34:12 +01:00
twinaphex b3aef50dff Move update_firmware_status to tasks/task_content.c 2016-12-06 08:28:26 +01:00
twinaphex 0d1fcbbe1e (task_screenshot.c) Prevent memory leak 2016-12-06 06:56:07 +01:00
twinaphex 1b3b0c26d1 take_screenshot - simplifications 2016-12-06 06:54:30 +01:00
twinaphex 86a222e0e6 Create just one screenshot function 2016-12-06 06:52:57 +01:00
Brad Parker 94915815ae use task message system 2016-12-06 00:24:45 -05:00
twinaphex 81096a27b9 Fix one Coverity issue 2016-12-05 07:06:32 +01:00
twinaphex d0cc1afe0a (tasks) Style nits 2016-12-04 19:12:35 +01:00
twinaphex 47274607f4 (tasks) * Respect 80-char limit - * Fix leaking of ssid_list in task_wifi.c 2016-12-04 19:08:24 +01:00
twinaphex 1386476792 Cleanups 2016-12-04 05:53:44 +01:00
twinaphex 3dc944977c (task_autodetect.c) Fix memory leak 2016-12-04 05:50:50 +01:00
twinaphex e2b27f6dc7 (tasks) Cleanups 2016-12-04 04:30:43 +01:00
twinaphex 0c74d19112 (tasks/task_save) Replace some instances of runloop_msg_queue_push 2016-12-03 06:46:53 +01:00
twinaphex 697760d580 Silence some warnings 2016-12-03 06:09:55 +01:00
Gregor Richards 0577749fae Netplay LAN scanning is go! (sort of) 2016-12-02 22:40:26 -05:00
Gregor Richards addff325d0 Netplay discovery LAN scanning task (incomplete) 2016-12-02 18:56:29 -05:00
twinaphex 642310e08a Remove runloop.h header include from many files 2016-12-02 06:19:27 +01:00
Jean-André Santoni b8db914af4 Fix savestate thumbnail path when screenshot dir is set 2016-12-01 23:24:16 +01:00
Twinaphex 4c41c7a3d0 Fix for when a device is not able to be autoconfigured - properly finish
the task then
2016-12-01 23:03:09 +01:00
twinaphex 02c0e8013b C89_BUILD fixes 2016-12-01 22:59:00 +01:00
twinaphex 230d7105fd CXX_BUILD fix 2016-12-01 22:57:43 +01:00
twinaphex 22e1854b8c Get rid of runloop.h header include 2016-12-01 22:49:16 +01:00
Jean-André Santoni 2cc4bef3aa Do the screenshot in the savestate callback 2016-12-01 22:39:13 +01:00
twinaphex 24a689c274 Cleanup 2016-12-01 22:38:19 +01:00
twinaphex 82bea3ba9f Remove FIXME/TODO 2016-12-01 22:37:27 +01:00
twinaphex 3db866e5dc disconnect action is a task now too 2016-12-01 22:36:38 +01:00
twinaphex 4a894afc57 Don't make it a blocking task 2016-12-01 22:19:09 +01:00
twinaphex 6a2df4615b task_autodetect.c- style nits 2016-12-01 22:17:36 +01:00
twinaphex 305b2becbd input_autoconfigure_connect - now a task 2016-12-01 22:16:06 +01:00
Jean-André Santoni cbc6bc942e Merge branch 'master' of https://github.com/libretro/RetroArch 2016-12-01 20:45:23 +01:00
twinaphex 25cc9446e8 Simplify input_autoconfigure_connect 2016-12-01 20:41:41 +01:00
Jean-André Santoni db8f47cb58 Set task_screenshot to non blocking 2016-12-01 20:40:54 +01:00
twinaphex f1dd06db20 (task_autodetect.c) Remove header include 2016-12-01 20:39:42 +01:00
twinaphex d3c22cb0e4 Move input/input_autodetect.c to tasks/task_autodetect.c 2016-12-01 20:38:20 +01:00
Jean-André Santoni 41f1063da3 Hide the screenshot message 2016-12-01 20:32:13 +01:00
Jean-André Santoni d142ccca02 Never add the date in the screenshot filename if it is a savestate thumbnail 2016-12-01 20:31:07 +01:00
Jean-André Santoni 367dcef0b1 Savestate thumbnails 2016-12-01 20:31:07 +01:00
Jean-André Santoni 70053afd03 Revert "Add way to hide message for screenshot tasks"
This reverts commit 0aca3d04c0.
2016-12-01 20:30:54 +01:00
twinaphex 0aca3d04c0 Add way to hide message for screenshot tasks 2016-12-01 20:22:44 +01:00
Jean-André Santoni f41e420b44 Unhardcode more strings 2016-12-01 00:49:48 +01:00
Twinaphex d26905389b Cleanup 2016-11-30 17:38:14 +01:00
twinaphex 981cbf93c9 Add task_wifi to Griffin 2016-11-30 17:37:42 +01:00
radius 5cf668c302 set the option as false by default for the time being 2016-11-30 10:29:34 -05:00
Twinaphex 12b17a8319 Merge pull request #4109 from libretro/async-wifi
Async wifi
2016-11-30 16:10:32 +01:00
radius 7f62fee375 fix close content after loading has been blocked 2016-11-29 23:46:07 -05:00
radius 2e7821e337 add a toggle to the firmware check so it can be overruled 2016-11-29 23:22:22 -05:00
radius 4f760352f4 don't show the message for ten seconds 2016-11-29 22:23:15 -05:00
radius 1b3789edde better firmware checking 2016-11-29 22:21:44 -05:00
Jean-André Santoni 99ab41be4a Don't use structs in global_t. Also simplifies the async wifi code. 2016-11-30 01:21:21 +01:00
Jean-André Santoni bb7a96e9a8 Async Wi-Fi scan 2016-11-30 00:18:27 +01:00
Jean-André Santoni dc15a880f7 Fix screenshots in content_dir 2016-11-28 01:00:14 +01:00
twinaphex 80798ab924 Remove hacky 'OSK Keyboard' overlay 2016-11-27 02:46:09 +01:00
twinaphex a50a47b89f (task_screenshot.c) Cleanup 2016-11-21 09:06:31 +01:00
twinaphex a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
twinaphex 279a90a01b Remove dependencies from gfx/video_frame.c 2016-11-08 15:26:15 +01:00
Brad Parker e378a4636b make save/load state messages fully translatable, rename jp.c to ja.c to match proper language code 2016-11-08 08:37:51 -05:00
Jean-André Santoni 6cc14a4fb9 Add missing copyright mention on some files 2016-10-27 18:17:43 +02:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex 13cc4787f2 Reduce more char variable sizes 2016-10-27 10:19:04 +02:00
twinaphex 456c4c4d58 Remove video_driver_cached_frame_render wrapper function 2016-10-25 00:42:26 +02:00
twinaphex e11b170173 Cleanups/more translation work 2016-10-22 05:13:37 +02:00
twinaphex 1b944c1cce Cleanups 2016-10-22 05:10:13 +02:00
twinaphex c3ab8800f4 Prevent implicit memsets 2016-10-21 05:57:40 +02:00
twinaphex 051c103ea1 Prevent implicit memsets 2016-10-16 01:31:06 +02:00
Francisco José García García 8e329a2072 Merge pull request #3781 from frangarcj/master
(VITA) Working scanning content
2016-10-13 17:51:13 +01:00
Francisco José García García 4c19543427 (VITA) Workaround for scanning content 2016-10-13 18:00:40 +02:00
twinaphex a4b90bcede Set msg[127] = 0 2016-10-13 13:33:51 +02:00
Brad Parker 88c8c49ef8 skip scanning of compressed files within archives if the core attached to this database supports archive files themselves 2016-10-12 16:14:00 -04:00
Higor Eurípedes 5f883b7ad1 (task_http) Don't use 100% CPU in threaded mode
This task is network bound and the HTTP functions use non-blocking I/O,
so task_http_iterate_transfer() returns "too fast" and the worker thread
gets no rest.
2016-10-09 14:44:27 -03:00
twinaphex 82472c82ea (task_screenshot) Prevent implicit memsets 2016-10-09 10:43:16 +02:00
twinaphex 481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02:00
twinaphex 1388220866 (tasks) Don't do implicit memsets in crucial performance-oriented code 2016-10-08 18:31:43 +02:00
twinaphex 7d68a20a97 Silence Deference before null check warning (Coverity) 2016-10-06 05:17:22 +02:00
Brad Parker 97a5e77181 mute state-related OSD messages when auto-saving 2016-10-04 17:58:16 -04:00
Gregor Richards 8418196557 Make core_unserialize universally inform Netplay 2016-10-04 13:44:35 -04:00
Brad Parker e5970e8095 prevent divide by zero 2016-10-04 08:35:08 -04:00
twinaphex 6c454bb468 content_undo_save_state - abitilityability to return false 2016-10-04 11:19:24 +02:00
twinaphex 166e300471 Plug more memor yleaks 2016-10-04 11:16:02 +02:00
twinaphex f06ea9ba70 Fix 17 new memory leaks catched by Coverity 2016-10-04 11:02:01 +02:00
twinaphex 19863e4174 autosave_lock/autosave_unlock - no longer require HAVE_THREADS ifdefs 2016-10-04 09:56:58 +02:00
Brad Parker 1c9a54db27 ignore return value of init_content_file_extract, fixes exit/crash when we can't load the content. (non-compressed corrupt content returns true anyway) 2016-10-03 22:23:39 -04:00
Brad Parker fc1f2cdcf4 only scan the content databases that support the file's extension 2016-10-03 16:09:10 -04:00
twinaphex 49e54356f4 Fix relative path 2016-10-03 18:24:28 +02:00
Twinaphex faba2bfe0b Merge pull request #3722 from GregorR/netplay-savestate-task
Reimplemented savestate task informing Netplay
2016-10-03 16:11:25 +02:00
twinaphex 25f27c3f4c Get rid of path_get_content 2016-10-03 15:39:57 +02:00
Gregor Richards 35666e21ae Reimplemented savestate task informing Netplay 2016-10-03 08:47:47 -04:00
twinaphex a4d48688c6 Create generic functions for dirs.c 2016-10-03 08:15:41 +02:00
twinaphex 8953255b6b Another buildfix for MSVC 2016-10-03 05:17:37 +02:00
twinaphex 95e2b6ac51 BUildfix warning 2016-10-03 05:17:09 +02:00
Brad Parker e50414db74 make screenshots into a real task 2016-10-02 22:41:46 -04:00
Brad Parker 06f06d512b finish task if state file cannot be loaded 2016-10-02 19:31:07 -04:00
Brad Parker 795fd0cfa3 add blocking task type that only allows one instance in the queue 2016-10-02 19:05:30 -04:00
Brad Parker cf3ae942c2 make undo_save_state a task 2016-10-02 19:05:30 -04:00
Brad Parker 18290ae777 comment 2016-10-02 19:05:30 -04:00
Brad Parker eac3ca770a load/save state are now actual tasks 2016-10-02 19:05:30 -04:00
twinaphex 9050f75fc8 Create dir_is_empty 2016-10-01 23:30:09 +02:00
twinaphex 8f163e6972 Revert "Move global->name to paths.c"
This reverts commit 6ee7b733aa.
2016-10-01 08:18:23 +02:00
twinaphex 8409d81e8e Revert "Create dir_is_empty"
This reverts commit fa469c4dcc.
2016-10-01 08:16:19 +02:00
twinaphex 8458a039ca Revert "Create dir_get"
This reverts commit db3738babb.
2016-10-01 08:16:13 +02:00
twinaphex 67432fde57 Add void * param to is_set 2016-10-01 06:05:08 +02:00
twinaphex db3738babb Create dir_get 2016-09-30 07:11:52 +02:00
twinaphex fa469c4dcc Create dir_is_empty 2016-09-30 07:06:27 +02:00
twinaphex 6ee7b733aa Move global->name to paths.c 2016-09-30 06:11:11 +02:00
twinaphex 1266c0609a Create path_is_empty 2016-09-30 04:43:16 +02:00
twinaphex 228886062b Create path_clear 2016-09-30 04:31:19 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex d6b9c4f17a Prevent some Coverity warnings 2016-09-29 19:24:18 +02:00
twinaphex cae92ed91d (tasks) Cleanups 2016-09-29 12:02:45 +02:00
twinaphex dc915713dd Simplify task_push_overlay_load_default 2016-09-29 11:46:37 +02:00
twinaphex d79c28f13b task_overlay.c - cleanups 2016-09-29 11:35:22 +02:00
twinaphex c8dc941c42 iso_get_serial - cleanup 2016-09-29 11:10:52 +02:00
twinaphex a304b42f73 (task_database.c) Cleanup 2016-09-29 11:07:56 +02:00
twinaphex 1842e35b8d Cleanups 2016-09-29 11:03:59 +02:00
twinaphex cfe91125db Create database_info_get_current_element_name 2016-09-29 10:59:50 +02:00
twinaphex b286703a81 Cleanup task_database_handler 2016-09-29 10:55:50 +02:00
twinaphex 7e1639f33b Create database_info_set_type 2016-09-29 10:43:38 +02:00
twinaphex fc3c17547e Use database_info_get_type 2016-09-29 10:41:30 +02:00
twinaphex 24f34431ee Header include cleanups 2016-09-29 10:37:31 +02:00
twinaphex 3d098839ca Update path_get 2016-09-29 08:46:41 +02:00
twinaphex 329f6ad612 Update path_get 2016-09-29 08:31:41 +02:00
twinaphex be81edad84 Create path_get 2016-09-29 08:23:41 +02:00
twinaphex b8a1052b73 Update path_set 2016-09-29 07:40:14 +02:00
twinaphex 570d9c2164 Change global_name_base variable name to name_base variable 2016-09-29 07:12:03 +02:00
twinaphex 89505fa011 Get rid of global->patch 2016-09-29 05:46:31 +02:00
twinaphex 90af64769d Get rid of global->sram 2016-09-28 07:27:39 +02:00
twinaphex 5bce79369a Get rid of global->sram.use, turn it into static boolean
variable inside rarch_ctl
2016-09-28 07:17:34 +02:00
Twinaphex 94b0dd36ab remove unused variable 2016-09-25 15:51:46 +02:00
twinaphex a1488ae34f Move subsystem path to paths.c 2016-09-25 15:49:09 +02:00
twinaphex b3ec735e75 Silence some more scan-build warnings 2016-09-25 15:25:20 +02:00
Brad Parker af98ee1c8a Add CRC calculation function that works with archives with or without a path inside (first file is used if no path)
Add all archive's contents to database scan list when scanning files and directories

Allow scanning a single file that is an archive

Remove unnecessary prototypes from archive_file.h

Simplify retrieving of CRCs from archives when scanning
2016-09-25 00:15:05 -04:00
twinaphex 3f35e10014 Solve some warnings pointed out by scan-build 2016-09-25 05:55:55 +02:00
twinaphex 4e3c9987f5 Prevent null pointer dereference / logically dead code / other misc. warnings 2016-09-23 16:03:37 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex e799defcb8 Cleanup 2016-09-23 02:50:29 +02:00
twinaphex 9db91a92c3 Get rid of unused typedef 2016-09-23 02:49:25 +02:00
twinaphex 8fd94e4aab Move variables around 2016-09-23 02:48:10 +02:00
twinaphex 4a1f593689 Get rid of unused typedef 2016-09-23 02:47:05 +02:00
twinaphex 019ea8a294 remove header include 2016-09-23 02:21:39 +02:00
twinaphex 040a1b8ba9 Move additional_path_allocs to load_content 2016-09-23 02:19:20 +02:00
twinaphex fc3cf2ebb6 Simplify function in task_content 2016-09-23 02:14:43 +02:00
twinaphex 5d59871c05 Prevent null pointer dereference 2016-09-23 02:11:51 +02:00
twinaphex a1971c5657 Grab system pointer inside functions instead of passing it around 2016-09-23 02:10:57 +02:00
Brad Parker d493273bcf use first extracted file if one is not specified and !need_fullpath and !block_extract 2016-09-22 16:03:31 -04:00
Brad Parker f8d51c2f86 only load compressed content if the path contains the file to extract 2016-09-22 12:52:34 -04:00
twinaphex 2c29e599e8 Revert this code back to what it was 2016-09-22 16:28:45 +02:00
twinaphex 693a9660f3 Prevent null pointer dereference 2016-09-22 16:10:51 +02:00
twinaphex 4db42db980 content_flush_save_blocks - cleanup 2016-09-22 14:40:07 +02:00
twinaphex dad9a079c7 Rework content_flush_save_blocks/content_allocate_save_blocks 2016-09-22 14:39:13 +02:00
twinaphex 99d24d9954 Cleanup 2016-09-21 04:19:59 +02:00