Commit Graph

1340 Commits

Author SHA1 Message Date
twinaphex 2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
Brad Parker 45d4a8865c free task state when finished 2017-01-22 11:33:20 -05:00
Brad Parker 8c216bd233 task title must point to memory that can be freed 2017-01-22 11:31:54 -05:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Jean-André Santoni 2dee8f77b6 (Netplay) Add a task to find a game from its CRC 2017-01-22 03:17:50 +01:00
twinaphex aa47903520 Prevent 'dereference before null check' 2017-01-18 17:53:25 +01:00
twinaphex a3f5590f41 remove dependence on configuration.h inside task_database.c 2017-01-18 01:23:24 +01:00
twinaphex 6e52a25b86 Attempt to fix 'write to pointer after free' issues 2017-01-14 13:51:20 +01:00
twinaphex add7d26c3d Set device name for xinput/dinput even when autoconfig is
disabled
2017-01-13 04:40:44 +01:00
twinaphex 899601e7bb Do an early return inside menu_shader_manager_init if already initialized 2017-01-11 03:36:35 +01:00
twinaphex f246cc7b40 (task_autodetect.c) Style nits 2017-01-09 11:45:04 +01:00
twinaphex ccca4c303d Set supports_rgba for overlay images 2017-01-08 21:45:43 +01:00
Twinaphex 2834370e09 Revert "allow serial scanner to match PBP" 2017-01-07 05:52:12 +01:00
radius 1866706c75 allow serial scanner to match PBP 2017-01-06 22:05:55 -05:00
twinaphex 6078deb510 (PS3) Fix warnings 2017-01-05 07:48:11 +01:00
twinaphex e75633064a Add 'Y button' callback function for input binds 2017-01-05 04:52:04 +01:00
twinaphex b3c477902c conditional is not necessary 2017-01-03 19:30:11 +01:00
twinaphex 1d6f88b0ec Try to prevent 'write to pointer after free' issues 2017-01-03 19:07:56 +01:00
twinaphex faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
twinaphex 314fd776e3 (task_screenshot.c) Cleanups 2017-01-03 06:57:55 +01:00
twinaphex 135394d193 Add is_paused member variable to screenshot task state 2017-01-03 04:42:10 +01:00
twinaphex 80519955ca (task_screenshot.c) Nits 2017-01-03 04:40:11 +01:00
twinaphex f6c861cf1a Cleanup 2017-01-03 04:37:52 +01:00
twinaphex 20d313204a Add history_list_enable to screenshot task state 2017-01-03 04:35:13 +01:00
twinaphex 5de111212a (task_screenshot.c) Cleanups 2017-01-03 04:30:02 +01:00
twinaphex be21e30230 task_autodetect.c - cleanup 2017-01-03 03:52:26 +01:00
twinaphex 03818dc780 Always set VID/PID/name for connect tasks 2017-01-02 07:47:38 +01:00
twinaphex 824ba64daa Set autoconfig directory for autodetect task 2017-01-02 05:33:29 +01:00
twinaphex 6d4659a902 (overlay) Reduce dependence on grabbing settings pointer everywhere 2017-01-01 04:12:24 +01:00
twinaphex d3470637ad Add max_users param to autoconfig_params_t 2016-12-31 07:54:38 +01:00
twinaphex 103042de96 Rewrite task_autodetect.c 2016-12-31 07:43:34 +01:00
twinaphex 6faabfeebf Don't use settings struct from thrading functions 2016-12-31 07:03:29 +01:00
twinaphex 5d6bdbc2cd (task_image.c) Cleanup 2016-12-30 05:36:06 +01:00
twinaphex 876a68717e We don't need enum_idx for task_push_image_load 2016-12-30 05:33:04 +01:00
twinaphex 583511c045 nbio handle should be initialized on the thread, not the
main thread
2016-12-30 04:58:58 +01:00
twinaphex 9657bbd998 Get rid of set_rgba/unset_rgba inside image_texture.c 2016-12-29 23:22:40 +01:00
twinaphex 05a899a411 Add nbio_status_flags 2016-12-29 23:14:48 +01:00
twinaphex 6a166faa0c Revert "Remove supports_rgba varaible from image_texture.c"
This reverts commit bd0c97fdc4.
2016-12-29 22:53:10 +01:00
twinaphex bd0c97fdc4 Remove supports_rgba varaible from image_texture.c 2016-12-29 22:39:52 +01:00
Brad Parker 41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex 67f1cca625 Don't try to use settings_t pointer from task callback functions 2016-12-29 06:09:58 +01:00
twinaphex 3a581ba8b0 (task_autodetect.c) Solve some threading errors 2016-12-29 05:49:24 +01:00
twinaphex 31aa1d6d19 Fix saved state message 2016-12-28 00:44:29 +01:00
twinaphex 28dedee477 Attempt to prevent crashes in task_image 2016-12-28 00:40:46 +01:00
twinaphex 6708da5ec1 task->progress is where the data race issues come from - commenting
out for now
2016-12-28 00:20:34 +01:00
twinaphex 2f0c66da34 Use non-C++ comments 2016-12-28 00:14:16 +01:00
twinaphex 89bb4f610d task_http.c - comment this out until we have fixed the threading
errors
2016-12-28 00:11:56 +01:00
twinaphex 141046b45b Add note about race issue 2016-12-27 23:56:32 +01:00
twinaphex ea39d3914e Prevent some heap-use-after-free issues 2016-12-27 23:48:10 +01:00
twinaphex 91f3a4bf11 Remove this - not threadsafe 2016-12-27 23:21:00 +01:00
twinaphex 3ec564f97c Revert "(task_save.c) Cleanups"
This reverts commit d6aae88737.
2016-12-27 20:11:22 +01:00
twinaphex c6269e3ade (task_save.c) Further cleanups 2016-12-27 15:16:42 +01:00
twinaphex 2a5e74ecb0 Cleanup autosave_free/autosave_deinit 2016-12-27 15:14:27 +01:00
twinaphex a42d5c9ec8 Cleanup autosave_unlock 2016-12-27 03:15:58 +01:00
twinaphex b0ebd33094 (task_save.c) Cleanups 2016-12-27 02:14:35 +01:00
twinaphex 1cfc6f571a (RARCH_CONSOLE) Another buildfix 2016-12-27 02:01:22 +01:00
Twinaphex 13536a864b (task_content.c) Prevent warnings 2016-12-27 01:32:58 +01:00
twinaphex d6aae88737 (task_save.c) Cleanups 2016-12-26 18:25:42 +01:00
twinaphex 958a028b0a (task_database.c) Remove unused message queue 2016-12-24 20:36:37 +01:00
twinaphex c27038d9bd (Wii) Fix build 2016-12-24 03:21:29 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex 02f1de920a If we load a ROM from the commandline, it will still get pushed
to the history list
2016-12-22 02:42:22 +01:00
twinaphex 711c4116e0 Be more careful with strdup 2016-12-22 00:43:46 +01:00
twinaphex a91e00026b (task_content.c) Only do strdup when variable is non-empty 2016-12-22 00:42:56 +01:00
twinaphex d39acc3f8e Prevent crash when loading a core like 2048 from the commandline 2016-12-22 00:41:36 +01:00
twinaphex 54a569a085 (task_content.c) Cleanup 2016-12-21 15:31:55 +01:00
twinaphex 9dab728067 Cleanup load_content_from_compressed_archive 2016-12-21 15:30:14 +01:00
twinaphex cb28584883 content_file_init_extract - cleanups 2016-12-21 15:27:08 +01:00
twinaphex a5c52dcc07 (task_content.c) Minor cleanups 2016-12-21 15:23:31 +01:00
twinaphex 52c2e1a501 (task_content.c) Cleanups 2016-12-21 15:21:11 +01:00
twinaphex 5f0efed08b (task_content.c) Attempt to fix some coverity bugs 2016-12-21 02:02:47 +01:00
twinaphex 7e43d9c469 Attempt to fix Coverity ID 158346 2016-12-21 01:45:19 +01:00
twinaphex b114aa9616 (task_content.c) Put public functions last; reorganization 2016-12-21 00:32:01 +01:00
twinaphex 06e010b318 Remove forced message on content load; in preparation for task-ification 2016-12-21 00:30:23 +01:00
twinaphex a2c0073678 content_file_init_subsystem - cleanup 2016-12-21 00:19:22 +01:00
twinaphex 12255c9f5c Use error_string in order to print (log) messages 2016-12-21 00:16:25 +01:00
twinaphex c13639147e (task_load_content) Cleanups 2016-12-21 00:06:34 +01:00
twinaphex 7914dda336 Cleanup 2016-12-21 00:02:09 +01:00
twinaphex 4f3a715514 Use content_ctx inside task_push_content_load_default function 2016-12-21 00:00:59 +01:00
twinaphex 710fc20314 Cleanup task_push_content_update_firmware_status 2016-12-20 23:45:37 +01:00
twinaphex 8cf2cbe86d Get rid of another sys_info variable 2016-12-20 23:39:31 +01:00
twinaphex bb0c03afff Cleanup content_file_init_subsystem 2016-12-20 23:36:39 +01:00
twinaphex b9602ef57e (task_content.c) Reduce dependency on settings_t struct 2016-12-20 23:25:35 +01:00
twinaphex 8c8aaf5bb8 Grab system info once in content_init instead of grabbing it
all the time
2016-12-20 23:12:56 +01:00
twinaphex ffdcce9511 (task_content.c) Rename local variable to sys_info 2016-12-20 22:55:58 +01:00
twinaphex e28ace8b0c (task_content.c) Use string_is_empty 2016-12-20 22:51:29 +01:00
twinaphex bdc05e9c10 (task_content.c) Rename function 2016-12-20 22:49:26 +01:00
twinaphex af2393b821 Remove content_push_to_history_playlist 2016-12-20 22:48:10 +01:00
twinaphex 3f1064d001 Cleanup 2016-12-20 22:35:59 +01:00
twinaphex 336d825525 (task_content.c) Allocate error_string and only print runloop
message at exit of function
2016-12-20 22:32:54 +01:00
twinaphex eec1f8a5cf Cleanup 2016-12-20 22:05:40 +01:00
twinaphex 59ca04dad2 (task_content.c) Cleanups 2016-12-20 22:03:04 +01:00
twinaphex 76ada44fb0 (task_powerstate.c) Cleanup 2016-12-20 21:46:12 +01:00
twinaphex c8dc0fef0c Cleanups - turn some functions into static functions and move
to task_database.c
2016-12-20 21:08:31 +01:00
Brad Parker d20f45c9d4 make battery level check into a task 2016-12-20 09:18:07 -05:00
twinaphex 3c7c667cf5 Get rid of some implicit memsets 2016-12-19 19:04:52 +01:00
twinaphex 4c9f2e41ff Get rid of some implicit memsets 2016-12-19 14:04:37 +01:00
twinaphex 96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex 4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
twinaphex 5364b0b837 Move compression-related code outside of libretro-common file_path.c
and move it into RetroArch's file_path_special.c file instead
2016-12-17 11:54:46 +01:00
twinaphex 2153f3f011 Check if autodetect is enabled at beginning of connect task 2016-12-16 15:18:04 +01:00
twinaphex 209305f944 Connect task now sets PID/VID too 2016-12-16 14:02:11 +01:00
twinaphex d9def056e7 The 'connect' task now sets the device name upon completion 2016-12-16 12:33:56 +01:00
twinaphex 62f5b2d3c3 The disconnect task now clears the device name 2016-12-16 12:20:31 +01:00
twinaphex ee7787dd52 (task_decompress.c) Don't log this 2016-12-15 21:21:39 +01:00
twinaphex f80d838aa0 Revert "make state screenshots non-gpu"
This reverts commit e0989d0b9e.
2016-12-12 14:14:45 +01:00
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
twinaphex 0ec5d9aba7 Simplify task_content.c 2016-09-21 04:09:24 +02:00
twinaphex 7edc0d9ee9 Simplify load_content_into_memory 2016-09-21 04:03:31 +02:00
twinaphex 55517dbc12 Prevent warning 2016-09-21 02:17:32 +02:00
Brad Parker b7735520f2 fix scanning of archive files 2016-09-20 15:40:29 -04:00
Brad Parker 6ac73c5655 use generic crc32 to scan files with 2016-09-20 13:34:56 -04:00
twinaphex 8b67551799 Turn dump_to_file_desprate into static function 2016-09-20 04:08:55 +02:00
twinaphex 0c86536bdc task_image.c - get rid of ifdefs 2016-09-20 04:05:16 +02:00
twinaphex c6ab19e59c read_content_file - Improve this a little bit 2016-09-20 03:21:26 +02:00
Brad Parker 605011ffe2 use generic crc32 2016-09-19 21:18:49 -04:00
Brad Parker 992b87321a more archive paths 2016-09-19 21:06:23 -04:00
twinaphex c7a739b2bd C89_BUILD fix 2016-09-20 03:01:20 +02:00
Brad Parker d49add014c forgot more archive paths 2016-09-19 20:58:52 -04:00
Brad Parker 137968c001 treat .apk files as .zip, set archive_path any time we need to decompress a file 2016-09-19 18:38:33 -04:00
twinaphex 1e5d4198de Add HAVE_CONFNIG_H - task_save.c 2016-09-19 19:27:19 +02:00
twinaphex bfeb0111f8 Fix C89_BUILD errors 2016-09-19 18:29:10 +02:00
Twinaphex 1205b12e15 remove unused variables 2016-09-19 04:23:53 +02:00
twinaphex c133b03a63 Move task_save_files to task_save.c 2016-09-19 04:22:02 +02:00
twinaphex 8469235005 global->savefiles only accessed now from task_save.c 2016-09-19 04:18:40 +02:00
twinaphex 2277428f52 Move more global->savefiles usage to task_save.c 2016-09-19 04:09:27 +02:00
twinaphex f91a8eacdb Move event_load_files to task_save.c 2016-09-19 04:05:44 +02:00
twinaphex 11ced5d438 relocate HAVE_CONFIG_H ifdef 2016-09-19 03:41:55 +02:00
twinaphex 2ecef082f8 Cleanups 2016-09-19 03:36:55 +02:00
Brad Parker 2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -04:00
twinaphex bb6bc9bd6d Merge task_save_ram/task_save_state 2016-09-19 02:57:23 +02:00
twinaphex 13d9e7c761 Deduplicate some code in task_save_ram.c/task_save_state.c 2016-09-19 02:44:00 +02:00
twinaphex 73c09f1d27 Cleanup 2016-09-19 01:12:39 +02:00
twinaphex 4106ff7f19 Reduce HAVE_COMPRESSION ifdefs 2016-09-19 00:56:58 +02:00
twinaphex 118a90b800 Move dir_check_defaults to dirs.c 2016-09-19 00:56:00 +02:00
twinaphex 534dca9ed1 Get rid of HAVE_COMPRESSION ifdef 2016-09-19 00:50:35 +02:00
Brad Parker 050ab56038 set archive path before extracting 2016-09-18 16:05:58 -04:00
twinaphex 6544b0bcd7 Get rid of HAVE_LIBRETRODB ifdefs 2016-09-18 21:50:39 +02:00
Brad Parker a7ffead8f6 fix more memory corruption 2016-09-18 15:20:27 -04:00
Brad Parker dc4760f5a6 fix another wrong type 2016-09-18 14:39:37 -04:00
Brad Parker 530f8ae107 fix memory corruption due to wrong userdata type 2016-09-18 14:32:29 -04:00
twinaphex 975e0f2247 C89_BUILD fix 2016-09-18 19:03:31 +02:00
Brad Parker 4fadd4a110 fix uninitialized use 2016-09-18 12:49:44 -04:00
Brad Parker dbbd49f9f9 merge with master, remove alignment test code 2016-09-18 12:44:00 -04:00
Brad Parker f13bce4e50 - use the detected stream backend's crc32 function
- remove zlib/7zip ifdef from archive_file.c, task_content.c and task_database.c
- don't re-compute CRC from one stored in archive
2016-09-18 12:31:24 -04:00
twinaphex c2e2d41452 C89_BUILD fixes 2016-09-18 18:28:33 +02:00
Brad Parker ffefe0ccac fix broken PR 2016-09-18 10:38:15 -04:00
Brad Parker 7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
Higor Eurípedes 824ded963b (task_content.c) Remove trailing whitespace 2016-09-17 21:22:49 -03:00
Higor Eurípedes e27a85d335 (task_content.c) Fix possible double free()
content_zip_file_decompressed_handle() didn't set the handler's data
member to NULL after freeing on error. That causes problem when the function fails and
content_zip_file_decompressed() tries to free it afterwards.
2016-09-17 21:20:27 -03:00
twinaphex 5c97d5b46b Move global->name.base to paths.c 2016-09-17 19:41:27 +02:00
twinaphex b775ee303c Use dir_is_savefile_empty/dir_is_savestate_empty 2016-09-17 15:01:32 +02:00
twinaphex 413d14ad49 Start using dirs functions 2016-09-17 14:57:53 +02:00
twinaphex 075599e818 Start using path_ functions for accessing and modifying global->path.config 2016-09-17 13:14:14 +02:00
twinaphex ec45dbaf0c Move retroarch_path_is_media_type to paths.c 2016-09-17 12:56:19 +02:00
twinaphex b89def5d8f Rename config_get/config_set functions 2016-09-17 12:51:44 +02:00
twinaphex 5aebdb7484 Mov code to paths.c 2016-09-17 12:35:29 +02:00
twinaphex 4caee1ca5f Get rid of one ifdef 2016-09-17 00:22:55 +02:00
Francisco José García García 912d26ec26 Wrong ifdef 2016-09-12 19:17:21 +02:00
twinaphex 49d5210256 Should make Start Core work on statically linked RA now 2016-09-12 08:37:40 +02:00
Francisco José García García b5111d4654 Fix Typo 2016-09-12 01:14:12 +02:00
Francisco José García García b8391e4cc2 Allow "Load Content" when RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME = true 2016-09-12 01:10:35 +02:00
twinaphex b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex 51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex dc0666555f Cleanups 2016-09-08 14:17:38 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex 93ed23d46f Warning fix 2016-09-06 01:08:05 +02:00
twinaphex 075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
Twinaphex 5f3d384a9c Merge pull request #3483 from bparker06/magic_len
bin/cue magic number is 17 bytes instead of 16
2016-09-01 05:54:56 +02:00
Brad Parker 1a9e0ca6a8 bin/cue magic number is 17 bytes instead of 16 2016-08-31 23:53:28 -04:00
twinaphex 4f577f1932 Get rid of some header includes 2016-09-01 05:36:52 +02:00
twinaphex f38ce959e4 Remove some header includes 2016-09-01 05:30:07 +02:00
twinaphex cef2d57629 Cleanups 2016-09-01 04:59:56 +02:00
twinaphex 0959f8173a Cleanups 2016-09-01 04:57:04 +02:00
Alcaro cad2eee9e0 Fix some PS3 derps 2016-08-27 13:54:02 +02:00
twinaphex 95de19320d Cleanup 2016-08-27 02:43:06 +02:00
twinaphex f851440a6b Some C89 fixes 2016-08-27 02:35:21 +02:00
Twinaphex 7edf762ac6 Merge pull request #3426 from bparker06/hash_filename
correctly handle content paths containing a hash (#), fixes issue #3273
2016-08-26 17:20:43 +02:00
Brad Parker 89f9b096e7 style cleanup and fix typos 2016-08-25 21:40:37 -04:00
Brad Parker 097f326298 simplify delimiting of compressed archive filenames 2016-08-25 16:18:29 -04:00
Brad Parker 5275c0a45d correctly handle content paths containing a hash (#), fixes issue #3273 2016-08-24 16:54:10 -04:00
twinaphex 82fecdbc70 (Vita) silence some warnings 2016-08-24 14:04:22 +02:00
Francisco José García García 5bd2364575 (VITA) Fix screenshots and some debug options 2016-08-23 18:17:46 +02:00
meleu 01abbe3d4d screenshot filename "game name-yymmdd-hhmmss.ext"
replaced fill_dated_filename() by fill_str_dated_filename() to add the game name to the screenshot.
2016-08-19 08:53:14 -03:00
twinaphex fda2495021 Get rid of HAVE_ZLIB_DEFLATE - implicitly enable it 2016-08-02 15:34:48 +02:00
twinaphex ef7ce5beee Create RARCH_OVERRIDE_SETTING_VERBOSITY 2016-08-01 20:54:16 +02:00
twinaphex ba32586d1a Rewrite has_set.libretro 2016-08-01 20:47:19 +02:00
twinaphex 77b688ed42 Add HAVE_FFMPEG/HAVE_IMAGEVIEWER ifdefs 2016-07-31 14:22:56 +02:00
twinaphex 8dfa393e05 Add screenshot to image history list too 2016-07-31 01:20:00 +02:00
twinaphex 5a83139e15 Cleanup 2016-07-31 01:11:53 +02:00
twinaphex 5aa61dcb15 Successfully pushes movies/music/image files now to proper history list 2016-07-30 23:50:29 +02:00
twinaphex 286bf213d1 Change name to movieplayer_video 2016-07-30 23:21:30 +02:00
twinaphex 7c7fc07674 Change core name to ffmpeg_video 2016-07-30 23:21:04 +02:00
twinaphex 8417a5e176 Start writing to separate playlists 2016-07-30 22:57:32 +02:00
twinaphex 8b706ad805 Start creating new history files for music/video/image 2016-07-30 22:47:43 +02:00
twinaphex 04c9db254e Start preparing playlist code 2016-07-30 21:27:40 +02:00
twinaphex d926961b43 Pass mode argument to task_load_content 2016-07-30 21:19:47 +02:00
twinaphex 191c2ec1fd Cleanup 2016-07-28 20:42:45 +02:00
twinaphex 4f617071db Add Start Video Processor menu entry 2016-07-28 20:35:05 +02:00
twinaphex bd88b9d1d2 (Wii) Fix warnings / unused variables 2016-07-24 11:32:45 +02:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
twinaphex 3a10dff94f task_image.c - go through file_path_str 2016-07-23 11:28:24 +02:00
twinaphex 282dbf0b38 (PS3) Should get playlist entries working again - now we need to
propagate the core path to the playlist correctly
2016-07-23 07:47:05 +02:00
Sebastien Ronsse 2f23781cfd task content: Display OSD loading message prior to loading content 2016-07-23 11:12:06 +10:00
twinaphex e93e3626dd (task_content.c) Messages should be flushed before putting on queue 2016-07-19 18:36:50 +02:00
twinaphex 5678d4fd34 Add onscreen message when this happens 2016-07-19 06:16:58 +02:00
twinaphex 397f82c9f5 Get rid of configuration.h dependency in list_special.c 2016-07-18 07:15:58 +02:00
twinaphex defe51ff69 Remove call to PENDING_QUIT 2016-07-11 15:29:11 +02:00
twinaphex f596d1f99d Get rid of duplicate entry 2016-07-11 15:04:54 +02:00
Twinaphex daee8afa19 Merge pull request #3209 from lakkatv/master
(Menu) Don't push the quick menu on playlists
2016-07-11 15:03:12 +02:00
Jean-André Santoni 94a67fe28b (Menu) Don't push the quick menu on playlists 2016-07-11 15:00:30 +02:00
twinaphex 050e29140b Should fix these issues 2016-07-11 14:44:12 +02:00
twinaphex 2f04b7035a Add more translatable strings 2016-07-01 08:35:12 +02:00
twinaphex bd8a7d030e Cleanups 2016-06-30 19:05:55 +02:00
twinaphex 22ac73ba26 Prevent null pointer dereference 2016-06-30 16:10:09 +02:00
twinaphex f51dfa1de9 Cleanups 2016-06-30 06:11:55 +02:00
twinaphex 21134eb28c Create FILE_PATH_DETECT 2016-06-30 06:07:44 +02:00
twinaphex 0547a71a52 Cleanups 2016-06-30 06:02:30 +02:00
twinaphex fbc83640b6 More translatable strings 2016-06-30 05:58:05 +02:00
twinaphex 6756501dac Create FILE_PATH_LUTRO_PLAYLIST 2016-06-30 05:19:25 +02:00
Twinaphex f53783dfe8 Merge pull request #3178 from lakkatv/master
Add .lutro scanning
2016-06-29 16:09:31 +02:00
Jean-André Santoni 0f18ade02a Add .lutro scanning
When a file wih the .lutro extension is found, the ROM is added to Lutro.lpl. The name of the game is the name of the file without the extension.
2016-06-29 15:07:12 +02:00
twinaphex 3c7dc0a62e Try to silence more Coverity warnings 2016-06-29 12:13:40 +02:00
twinaphex ca3eecf5c0 Create fill_pathname_join_noext 2016-06-28 13:05:46 +02:00
twinaphex fa7eb9d8c8 Create file_path_str FILE_PATH_NUL 2016-06-28 11:10:30 +02:00
twinaphex 7a745c3f70 Use string_is_empty 2016-06-28 11:02:51 +02:00
twinaphex 58b95752e8 (task_content.c) Use string_is_empty 2016-06-28 10:50:00 +02:00
twinaphex 342bcebc59 Set current core type almost immediately after loading new core 2016-06-28 07:51:49 +02:00
twinaphex 1661fa552f Revert "Cleanup"
This reverts commit 43426df4f6.
2016-06-28 04:58:29 +02:00
twinaphex 43426df4f6 Cleanup 2016-06-28 04:21:13 +02:00
twinaphex d600075012 Cleanup 2016-06-28 04:08:36 +02:00
twinaphex 36c235556a Fix some coverity warnings 2016-06-27 20:54:05 +02:00
twinaphex f5bfbdeebe Rewrite strcpy usage 2016-06-27 08:09:34 +02:00
twinaphex 3cd76a6849 Cleanup 2016-06-27 07:02:22 +02:00
twinaphex 05fb0a1eeb Push Quick Menu for net retropad core 2016-06-27 06:27:57 +02:00
twinaphex 2dddc3fc88 Add FILE_PATH_LPL_EXTENSION 2016-06-26 10:12:28 +02:00
twinaphex 49e8baa61d Use tmp_str variable for config_get_path usage 2016-06-25 07:17:48 +02:00
FIX94 3f7ca00e6d corrected a switch case, makes ngc build (and probably others) boot up again 2016-06-24 18:03:51 +02:00
twinaphex a6bfc6240f C89_BUILD fixes 2016-06-23 07:40:51 +02:00
twinaphex dee7533d65 (libretro-common) Start creating STRING_REP_ULONG 2016-06-23 07:37:02 +02:00
twinaphex 9d6086813b Use RARCH_LOG 2016-06-23 07:23:17 +02:00
Arzed Five 1f028395d2 Merge remote-tracking branch 'upstream/master' 2016-06-22 22:40:17 +01:00
twinaphex 20e86afbf2 Cleanup 2016-06-20 22:27:44 +02:00
twinaphex c3eda56561 Move hashes over to msg_hash.c 2016-06-20 17:55:34 +02:00
twinaphex 68bf755fe7 Remove two unused hashes 2016-06-20 16:19:30 +02:00
twinaphex 07c218ad51 Remove two hashes 2016-06-20 16:18:04 +02:00
twinaphex d2c9c280fe No longer use CB_ hashes 2016-06-20 16:14:59 +02:00
twinaphex a585017208 Rename MENU_FILE_ to FILE_TYPE_ 2016-06-20 15:50:37 +02:00
twinaphex 450e1f4746 Rename menu_hash_to_file_type 2016-06-20 15:33:22 +02:00
twinaphex e59fb6c0d9 Bugfix 2016-06-20 15:22:31 +02:00
twinaphex 7d3780e09f Refactor some code in task_push_decompress 2016-06-20 15:21:42 +02:00
twinaphex 2ebd6e6f49 Header cleanups 2016-06-20 06:34:30 +02:00
twinaphex fa08613637 Indenting nits 2016-06-20 06:21:12 +02:00
twinaphex 560f8dda60 Remove tasks_internal.c - no longer needed 2016-06-20 06:02:50 +02:00
twinaphex 59b8b3b9ed Add more translatable strings 2016-06-20 04:17:03 +02:00
Alcaro 6949cfde68 C++ use means we use the C++ linker. Fixes #3129 2016-06-19 21:41:00 +02:00
twinaphex 7e675b4f8a Cleanups 2016-06-18 03:51:54 +02:00
twinaphex a8042bdc0c Create CONTENT_MODE_LOAD_NOTHING_WITH_NEW_CORE_FROM_MENU 2016-06-15 18:17:01 +02:00
Arzed Five 0d3a866356 Corrected a mistake, added some more error checking. 2016-06-11 17:21:09 +01:00
Arzed Five 8e20b9e938 Both Undo options now write distinct messages in the OSD when buffers
are empty, when undoing fails and when undoing is successful.

Aside from some TODO/FIXME areas added by this fork, the features in the
fork are now complete.
2016-06-10 20:12:43 +01:00
Arzed Five 83a1d9ac1f Clean up some stuff, add comments, reduce the places where
content_reset_backup_buffers is called, try to make the undo messages
nicer.

* I'm trying to write to differentiate read/write errors from empty
buffer errors. I changed command.c and task_save_state.c so the
content_undo funcs are the ones writting the success messages.

I was told to use runloop_msg_queue_push() to write to the OSD, but that
doesn't seem to be working.
2016-06-09 16:14:40 +01:00
radius 4ad2eba602 cleanups 2016-06-08 23:02:19 -05:00
Arzed Five 9944ec98fd Both undo options print messages now. Undo Load State can now also be
undone ad infinitum. Doing it in succession swaps the current state for
the backed up state.
2016-06-09 00:38:27 +01:00
Arzed Five 8c5238c349 Undo Load State and Undo Save State both seem to be working. 2016-06-08 23:03:49 +01:00
Arzed Five 051cc3fe4d Undo Save State currently seems to be working almost as intended
(missing OSD messages). Undo Load State isn't working yet.
2016-06-08 20:27:54 +01:00
Arzed Five 4d529ffbc0 Merge remote-tracking branch 'upstream/master' 2016-06-08 17:07:18 +01:00
Arzed Five c47b58228f Make this compile 2016-06-08 17:07:04 +01:00
Arzed Five 70b1f385e8 Change task_save_state so we save a single state and a single savestate
file in memory, allowing to undo a loadstate/savestate once.
2016-06-07 18:33:01 +01:00
twinaphex f4c3a41f84 (Win32) Implement application process events 2016-06-07 17:28:51 +02:00
twinaphex cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex b45824a7a8 Reorder files in Makefile.common 2016-06-07 06:14:28 +02:00
twinaphex 7ea0a19a4f Prevent crash 2016-06-05 19:29:55 +02:00
twinaphex 693ce8f6e5 (task_content.c) Fix explicit null dereferenced 2016-06-05 19:03:23 +02:00
twinaphex 620f541ca1 detect_ps1_game_sub - fix 'resource leak' 2016-06-05 18:32:26 +02:00
twinaphex 51c875fdee Cleanup 2016-06-05 03:04:09 +02:00
Twinaphex 86b35c8ff2 Merge pull request #3069 from fr500/undo
Undo savestate/loadstate
2016-06-05 01:19:35 +02:00
radius 28aafddd91 copy the old save state before making a new savestate 2016-06-04 12:38:55 -05:00
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