Commit Graph

776 Commits

Author SHA1 Message Date
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
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