natinusala
a253fac207
menu_widgets: fix screenshot notification data race
2019-05-01 15:46:57 +02:00
natinusala
90fb11cb9a
task_database: set task title upon completion
2019-05-01 15:26:21 +02:00
natinusala
486f438cc3
task_database: reimplement task progression
2019-05-01 15:13:41 +02:00
twinaphex
5bd0fdcc13
Cleanups
2019-04-30 13:51:32 +02:00
twinaphex
06cfdfdcbb
Make some log messages uniform
2019-04-30 13:43:01 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +02:00
twinaphex
34be5862ee
(task_database) Use task_init
2019-04-30 10:25:23 +02:00
twinaphex
2d99cdcbf3
Add function parameter to task_iterate_database_start
2019-04-30 10:18:25 +02:00
twinaphex
9e2c82c26e
(Scanner) Shorten scanner string
2019-04-30 10:12:00 +02:00
Twinaphex
a797324133
Revert "task_database: use regular progress report"
2019-04-30 10:01:07 +02:00
natinusala
8c7db837b4
task_database: use regular progress report
2019-04-29 20:04:41 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb
.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
627c86721f
(task_patch) Get rid of extraneous filestream_exists checks -
...
we already check if the file exists with path_is_valid
2019-04-27 13:35:28 +02:00
twinaphex
b43b3e2bb0
(UWP/WinRT)
...
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
twinaphex
49156e645e
task_push_decompress - use path_is_valid instead of filestream_exists
2019-04-27 05:16:02 +02:00
twinaphex
58073eeb15
Small cleanup
2019-04-27 04:43:07 +02:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
M4xw
ca80a3a4da
[Libnx] Toolchain related changes
...
-Remove switch_pthread - It should be no longer used
-Increase SAVE_STATE_CHUNK to 4MB
-Fix overclocking on Horizon 8.0+
Note: This requires the updated Toolchain before Merge
2019-04-26 21:58:40 +02:00
twinaphex
b3686aee4c
Initialize playlist_entry manually
2019-04-24 02:10:45 +02:00
twinaphex
955a149ce9
Use config_file_read where we can assume we are reading a file
2019-04-22 01:56:24 +02:00
twinaphex
16e2db25c4
Prefer config_file_read instead of config_file_new when we are
...
sure the path cannot be a directory path
2019-04-22 01:23:50 +02:00
twinaphex
270e95bc97
Turn a lot of input_config_parse functions static
2019-04-21 06:42:13 +02:00
twinaphex
7372bafb44
Remove RARCH_CTL_SET_LIBRETRO_PATH
2019-04-21 06:03:02 +02:00
twinaphex
81d22c63de
(task_content) Some simplifications
2019-04-21 05:33:41 +02:00
meleu
c2364096f3
Merge branch 'master' into runtime_rcheevos_switch
2019-04-19 21:50:00 -03:00
twinaphex
70373dba9a
(task_screenshot.c) Cleanups
2019-04-13 04:56:11 +02:00
twinaphex
3619fae2d9
(LGTM) Silence some warnings
2019-04-13 02:15:26 +02:00
Twinaphex
8918d0d873
Merge pull request #8580 from bparker06/playlist_subsystem
...
Add subsystem support for (history) playlists, make playlist_entry struct public to simplify function parameters
2019-04-12 23:45:02 +02:00
bparker06
15c0191f08
Update task_content.c
2019-04-12 13:04:59 -04:00
Brad Parker
f7b0c0947c
add subsystem_name (friendly name) to history playlist, make playlist_entry struct public to simplify function parameters
2019-04-12 12:50:27 -04:00
radius
d08779adf0
[subsystem] add a function to get the friendly name
2019-04-11 18:51:27 -05:00
natinusala
942d228e3a
menu widgets: fix screenshot flash tainting the image
2019-04-11 16:46:41 +02:00
Brad Parker
230c64ba4b
add subsystem support for playlists, only missing the content load portion
2019-04-11 00:09:13 -04:00
natinusala
3d52f2bf8f
menu widgets: reimplement screenshot widget
2019-04-08 17:06:04 +02:00
jdgleaver
2c65068be0
More 'Log to File' Additions:
...
- Add optional timestamped log files
- Handle errors if log file cannot be opened
- Android: flush log file immediately
- 3DS: log to file tested and fully working
- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
meleu
a5acd559d6
namespace both cheevos implementations & add a runtime setting to allow debugging
2019-03-19 21:13:10 -03:00
jdgleaver
dc8ef72323
Populate crc32 and db_name fields when adding history/favourites playlist entries
...
playlist.c: Fix silly range check error
2019-03-09 13:58:53 +00:00
Brad Parker
9279d06f93
Merge branch 'master' into send_debug
2019-03-07 19:23:41 -05:00
Brad Parker
10df615d14
add "Send Debug Info" option under Help
2019-03-07 19:17:54 -05:00
jdgleaver
8a2cd64889
Always use core display name when populating playlists
2019-03-07 16:54:46 +00:00
Brad Parker
e0b75ec3fb
fix a whole bunch of memory leaks
2019-03-01 12:05:14 -05:00
Brad Parker
4f0d61a2ac
update copyright
2019-02-22 19:13:36 -05:00
rlnilsen
e71b6d6d23
Fix content scanner creating false positive playlist entries that also have wrong label and crc32.
2019-02-21 04:24:07 +01:00
twinaphex
386657a366
(menu widgets backport) Re-commit task queue changes
2019-02-08 08:00:32 +01:00
twinaphex
894f3b7aef
Change function signature back
2019-02-08 07:29:50 +01:00
twinaphex
7022786f34
Revert parts of menu_widgets that were causing breakage, but leave
...
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
Twinaphex
f62e44c3e8
Merge pull request #7971 from Wiimpathy/WiiSkipCrc
...
Wii: Skip CRC. Avoid an unnecessary delay.
2019-02-07 18:42:13 +01:00
twinaphex
affd507151
Warning fix
2019-02-07 08:05:43 +01:00
radius
671e90a415
[discord] party & ask to join refinements
2019-02-06 22:45:05 -05:00
Twinaphex
477170884b
Some warning fixes
2019-02-06 23:25:41 +01:00
Wiimpathy
79b5a05aeb
Merge branch 'master' into WiiSkipCrc
2019-02-06 21:51:27 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
4c56167446
Convert to linux line endings.
2019-02-03 15:43:42 -08:00
twinaphex
987a91a1ae
Silence some warnings
2019-01-31 21:24:13 +01:00
twinaphex
9421584772
Header include updates
2019-01-31 19:41:51 +01:00
Brad Parker
90db5e7e27
Implement in-menu sound effects
2019-01-27 11:22:16 -05:00
Twinaphex
556b7b19de
Merge pull request #8025 from krzys-h/uwp-storagefile
...
(UWP) StorageFile implementation
2019-01-27 08:33:17 +01:00
radius
b0b39a1610
this should fix errors with --disable-menu
2019-01-20 17:20:17 -05:00
twinaphex
b13777e9fc
Header cleanups
2019-01-20 03:16:58 +01:00
twinaphex
cfd7228469
Cleanups
2019-01-20 02:57:12 +01:00
twinaphex
0083e10926
Some header include changes - create task_file_transfer.h
2019-01-20 02:17:43 +01:00
Brad Parker
afcaccbd05
task_audio_mixer: free nbio_buf path memory
2019-01-18 19:06:59 -05:00
twinaphex
fc57b41ab6
(Audio mixer) You can now specifically set a slot to load a sound in
...
- set type to AUDIO_MIXER_SLOT_SELECTION_MANUAL and set idx to the
slot you want to load in (begins at 0)
2019-01-18 00:24:31 +01:00
krzys-h
4461d32900
(UWP) Fallback to a file copy when core doesn't support VFS
2019-01-17 11:48:09 +01:00
krzys-h
c8510378dc
(UWP) Error if trying to use VFS on cores that don't support it
2019-01-17 11:08:05 +01:00
twinaphex
65d5de6674
Add 4 additional mixer slots for system sound effects and music
...
for menu
2019-01-17 03:03:46 +01:00
Brad Parker
e2df9b52ce
Fix issue that was causing old name labels to appear in content history
2019-01-16 16:48:20 -05:00
Twinaphex
31b1a91c3b
Merge pull request #8014 from orbea/screenshot
...
Fix screenshot filename with no core or content.
2019-01-16 16:07:57 +01:00
orbea
02382b1cd7
Fix screenshot filename with no core or content.
2019-01-15 21:55:03 -08:00
radius
82836c5778
[netplay] simplify find content task
2019-01-14 20:17:53 -05:00
radius
dad3fe42db
[netplay] load subsystem content
...
cleanup
cleanup
2019-01-14 18:58:57 -05:00
radius
9d0472c3ac
[netplay] finding content works now
...
cleanup
2019-01-14 18:58:56 -05:00
CozmoP
2052e15a08
pass content label when loading content from Qt ( #7982 )
2019-01-11 18:51:44 -05:00
twinaphex
3ac631c7a3
(MSVC) Some more static code analysis warning fixes
2019-01-10 22:49:23 +01:00
twinaphex
c98b2e2292
Buildfixes and more static code analysis warning fixes
2019-01-10 22:24:43 +01:00
benoa
9fec6d4a18
Wii: Skip CRC. Avoid an unnecessary delay.
2019-01-10 20:16:36 +01:00
orbea
7eead5c59f
Fix crashes with '--disable-menu' and the Qt frontend.
...
When failing to load content in the companion ui when HAVE_MENU is not
defined RetroArch will crash in just about every input and video driver.
Even if several sanity checks are added the dummy core will immediately
exit.
Now it will print that it failed to load the core in the companion ui
and reinit the dummy core to match the behavior with the null menu
driver.
2019-01-09 10:02:32 -08:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Brad Parker
5bedd981ec
allow shaders when menu is disabled
2019-01-06 23:03:28 -05:00
orbea
06d0a19e95
Fix png file names for screenshots with contentless cores.
...
For contentless cores like 2048 and the retropad RetroArch will save png
files with the content field missing.
-181227-133151.png
Now RetroArch will save png files with the correct names for contentless
cores.
2048-181227-133151.png
RetroPad Remote-181227-133202.png
Cores with content will have no change in behavior.
Akumajou Dracula (J)-181227-133232.png
And with cores that support content and no content such as 4DO both
variations will work.
4DO-181227-144102.png
LuciennesQuest-181227-144118.png
Fixes https://github.com/libretro/RetroArch/issues/7828
2018-12-27 14:50:09 -08:00
orbea
80ed61f257
cli: Fix the --no-patch argument.
...
Fixes https://github.com/libretro/RetroArch/issues/5885
First bad commit:
d28c138d09
2018-12-25 13:12:59 -08:00
orbea
4da7092aff
menu: Reset position after pushing quick menu.
...
Fixes:
https://github.com/libretro/RetroArch/issues/5595
https://github.com/libretro/RetroArch/issues/2506
2018-12-21 18:43:14 -08:00
radius
319124c7a0
subsystem: remember last used folder
2018-12-16 12:33:27 -05:00
radius
479104ee05
cleanup task_content.c too
2018-12-10 23:27:04 -05:00
radius
cad5ae287f
fix https://github.com/libretro/fbalpha/issues/24#issuecomment-445803876
2018-12-10 22:09:42 -05:00
twinaphex
1c6602e35d
Add thread safety note
2018-11-28 11:02:36 +01:00
Twinaphex
02e7b16461
Merge pull request #7643 from fr500/subsystem
...
WIP: try to load subsystems without loading content
2018-11-27 18:56:41 +01:00
twinaphex
ff4fa3be7a
Fix more string is too small warnings
2018-11-25 18:49:04 +01:00
radius
77faf4ac4a
[subsystem] try to load subsystems without loading content
2018-11-24 23:34:51 -05:00
Francisco Javier Trujillo Mata
0880bd00b0
PS2 is compiling with null drivers
2018-11-09 22:40:50 +01:00
twinaphex
a662b62d19
Use runloop_get_libretro_system_info in more places - clean some code up
2018-10-30 17:11:07 +01:00
twinaphex
51430e9e5f
Add runloop_get_libretro_system_info
2018-10-30 08:21:32 +01:00
twinaphex
03dac742cb
(task_content.c) Some more cleanups
2018-10-29 04:59:54 +01:00
twinaphex
e6dfa35f9d
(task_content.c) More cleanups
2018-10-29 04:48:22 +01:00
twinaphex
305a07a3f3
Create some variables for size
2018-10-29 04:43:05 +01:00
twinaphex
e31c4f541a
Simplify init_subsystem function
2018-10-29 04:04:25 +01:00
radius
32766f0017
[content] CRC calculation for needs_fullpath should be within else block
2018-10-28 19:40:18 -05:00
Nathan Strong
edacf67e75
Capture CRC content for deferred-loading cores
...
== DETAILS
Fixes a bug where content CRC32 is not calculated when content loading
is done by the core instead of libretro. This impacts the ability to
do accurate content matching on netplay.
This notably affects MAME, but is by no means limited to MAME.
Change summary:
- adds a method to the crc32 implementation that calculates crc32 for
a file (as opposed to an in-memory buffer)
- fix a minor bug that would print the "core will load its own content"
right before attempting to load compressed content
- in the actual "core will load its own content" path, calculate the CRC32
and log it before returning
== TESTING
Tested locally on OSX:
- loaded content
- started netplay
- confirmed CRC showing in netplay data
- verified CRC32 against external crc32 tool
2018-10-18 11:26:45 -07:00
twinaphex
421e6178e5
Buildfix
2018-10-17 18:20:01 +02:00
Nathan Strong
0abe42d9a4
Rewrite content search task
...
== DETAILS
In attempting to identify where netplay lobby errors were occuring,
I found that the code which does the content search was pretty messy,
so I've cleaned it up.
- Search is now more efficient. Playlists are only iterated over once,
instead of twice.
- Error messages are more helpful
- Eliminated goto abuse
- code is easier to follow and has comments describing the logical
flow.
== TESTING
Tested lightly locally, although hard to test thoroughly due to tight
netplay requirements.
2018-10-16 22:40:13 -07:00
twinaphex
0ba8597041
Cleanups/silence warnings
2018-10-04 16:24:10 +02:00
Sven
fc40e6ac85
fix gdi scanning - database only contains crcs for track 1 - so do not try to find largest track - just stop on track 1
2018-10-02 15:15:45 -04:00
M4xw
03ad3b5c30
[LIBNX] Remove task_autodetect workaround
2018-09-29 19:36:12 +02:00
twinaphex
931397671f
Increase size of string to silence warning
2018-09-28 21:40:17 +02:00
twinaphex
6825cb2cc7
task_database.c - use string_is_equal
2018-09-20 12:48:00 +02:00
twinaphex
09d27fc591
Silence some warnings
2018-09-15 07:19:51 +02:00
M4xw
3a6e410833
[LIBNX] Add pthreads wrapper
2018-09-15 02:28:52 +02:00
twinaphex
7c2da36af9
Prevent warning
2018-09-08 02:11:18 +02:00
Sven
b4081d9347
implement libretro private def to allow cores to tell RA to save states in background
2018-09-07 19:09:56 -04:00
Tatsuya79
dd9db41403
fix task_save.c
2018-09-01 01:50:30 +02:00
Tatsuya79
64459bda3a
revert #7156
...
revert https://github.com/libretro/RetroArch/pull/7156
2018-09-01 01:41:21 +02:00
Twinaphex
e2a650cb26
Remove unused variable
2018-08-31 19:02:47 +02:00
Sven
75abd1f36e
Merge remote-tracking branch 'upstream/master'
2018-08-30 12:07:41 -04:00
Sven
b8ab6c1e74
push save state into background for cores that need the emulator to be running to correctly save states
2018-08-30 11:21:31 -04:00
Brad Parker
23836bfba9
use_thread option for screenshot was backwards
2018-08-27 13:38:43 -04:00
Brad Parker
b0146abd11
add fullpath and use_thread parameters to take_screenshot()
2018-08-18 23:08:55 -04:00
Twinaphex
f07b8b1965
Merge pull request #7090 from Dwedit/fix_missing_content
...
Fix console mode loading core without content
2018-08-18 16:06:41 +02:00
Dwedit
0e34c12d5c
Fixed bug that let Retroarch proceed to retro_run without loading content
...
Removed unlocalized and redundant error message
2018-08-18 08:40:19 -05:00
Brad Parker
c59cbfc4e8
fix memory leaks
2018-08-18 01:07:57 -04:00
Brad Parker
077ef86bab
fix null pointer dereferences
2018-08-18 01:07:51 -04:00
Brad Parker
a1b831abdb
allow 7z archives to have multiple files extracted at once
2018-08-06 20:44:59 -04:00
Sven
5f35249216
Implement robust cheat searching interface with rumble features
2018-07-25 19:19:14 -04:00
radius
aa35b9da46
subsystem: set the subsystem correctly
2018-06-14 16:38:27 -05:00
retro-wertz
ce27e986e9
Better no log at all than showing a false log
...
This false message has been like foreve. Nobody seems interested in updating "small and minor" things. so lets just remove this....
2018-06-11 17:08:59 +08:00
Dwedit
51f7746407
reformat like the old code
2018-05-28 10:58:04 -05:00
Dwedit
8cd8e7d3ae
Fix a calloc(0) which led to uninitialized data being used later on.
2018-05-28 10:54:25 -05:00
twinaphex
5e32f7ab40
Add To Mixer and Add To Mixer And Play actions
2018-05-02 20:39:55 +02:00
twinaphex
9fbfd503af
Add value descriptions for audio mixer streams
2018-05-02 20:13:13 +02:00
twinaphex
eff75a3bcd
Move nbio_buf_t to task_audio_mixer.c
2018-05-02 19:30:06 +02:00
Brad Parker
a1aefc901c
Qt WIMP GUI
2018-04-30 14:33:05 -04:00
twinaphex
5aeab54ab7
(Audio mixer) Ability to individually set volume per stream
2018-04-30 17:51:01 +02:00
twinaphex
965859ddcb
Start adding mixer controls - ability to stop and remove loaded tracks
2018-04-30 14:34:25 +02:00
Rob Loach
00092eb5ea
feat: Add Wii Backup File WBFS scanning
2018-04-29 09:51:38 -04:00
twinaphex
e7272ddefa
(Audio mixer) Add MP3 support as well
2018-04-28 14:18:04 +02:00
twinaphex
3f7c318e3f
(Audio mixer) Add FLAC support to audio mixer
2018-04-28 11:17:37 +02:00
twinaphex
f050104740
Change return type of content_get_subsystem_rom_id
2018-04-17 03:19:35 +02:00
twinaphex
041670fe02
Get rid of multitude of casting warnings
2018-04-13 00:47:42 +02:00
twinaphex
1751f4a0af
Make it possible to read bigger files by replacing ssize_t with int64_t
...
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
twinaphex
6761ec471d
Silence some Coverity warnings
2018-04-12 21:39:31 +02:00
i30817
7da45bc789
Serial magic should only match on full match
...
As was mentioned on the wii dual layer disc issue, this line is comparing binary sequences as strings, which fails very obviously because neither of the 'strings' tested are strings and it's very likely both start with \0.
2018-04-11 01:37:35 +01:00
twinaphex
c24179dc63
Scanning should now work in standalone program
2018-04-10 05:16:33 +02:00
twinaphex
c9e48cd9de
Cleanups / get rid of more dependencies
2018-04-10 04:31:19 +02:00
twinaphex
6f0fc2426d
(database_info/task_database) Get rid of list_special dependencies
2018-04-10 04:13:45 +02:00
twinaphex
3016edce0a
Move retroarch.h dependencies out of core_info.c
2018-04-10 04:00:01 +02:00
twinaphex
06bafe3cc3
Fix typo
2018-04-10 02:41:09 +02:00
twinaphex
be0c118c87
(task_database.c) Don't use msg_hash_calcualte and msg_hash_to_file_type
2018-04-10 01:18:40 +02:00
twinaphex
908de15e7b
Start adding samples - not done yet
2018-04-09 22:12:59 +02:00
twinaphex
22e5d000c2
Cleanups
2018-04-09 19:30:36 +02:00