Commit Graph

420 Commits

Author SHA1 Message Date
meleu 22a956f663 replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable' 2019-05-04 12:52:49 -03:00
twinaphex 5bd0fdcc13 Cleanups 2019-04-30 13:51:32 +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 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
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
Brad Parker 230c64ba4b add subsystem support for playlists, only missing the content load portion 2019-04-11 00:09:13 -04: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
jdgleaver 8a2cd64889 Always use core display name when populating playlists 2019-03-07 16:54:46 +00:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05: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
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
twinaphex 987a91a1ae Silence some warnings 2019-01-31 21:24:13 +01: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
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
Brad Parker e2df9b52ce Fix issue that was causing old name labels to appear in content history 2019-01-16 16:48:20 -05:00
radius dad3fe42db [netplay] load subsystem content
cleanup

cleanup
2019-01-14 18:58:57 -05:00
CozmoP 2052e15a08 pass content label when loading content from Qt (#7982) 2019-01-11 18:51:44 -05: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 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
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