1481 Commits

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