libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.37k stars 1.84k forks source link

[switch] .chd not loading achievements #10841

Open MKE57 opened 4 years ago

MKE57 commented 4 years ago

First and foremost consider this:

Description

.chd files, whilst playing, aren't loading achievements. I'm running latest stable on switch.

Expected behavior

I expected the game to load achievements

Actual behavior

The game did not load achievements

Steps to reproduce the bug

  1. open retroarch
  2. load .chd
  3. achievements aren't loaded

Bisect Results

I first tried loading a .chd earlier this week

Version/Commit

You can find this information under Information/System Information

Environment information

retroarch.log

Sanaki commented 4 years ago

The log appears to indicate hashing is non-functional for chd on switch, implying the switch build of retroarch doesn't have functional chd support (though the cores themselves may separately). I'm uncertain if this is a bug or simply unimplemented functionality in that build.

Jamiras commented 4 years ago

It sounds like HAVE_CHD is not enabled for the Switch build. The hashing code relies on being able to read the CHD in the RetroArch code and is independent of whatever implementation is present in the cores.

Sanaki commented 4 years ago

I just verified this issue extends to 3DS as well, and is indeed due to the chd library not being active/present in RetroArch itself. For clarity, I'd recommend an issue rename to the following: [3DS, Switch] chd files can't be scanned or hashed While I'm not 100% happy with that title, it's about as succinct as I can come up with, and it's more clear than the current one.