Skip to content

(cheevos) fix game identification for buffered cue files - #19355

Merged
LibretroAdmin merged 2 commits into
libretro:masterfrom
Jamiras:bugfix/buffered_cue
Aug 5, 2026
Merged

(cheevos) fix game identification for buffered cue files#19355
LibretroAdmin merged 2 commits into
libretro:masterfrom
Jamiras:bugfix/buffered_cue

Conversation

@Jamiras

@Jamiras Jamiras commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes an issue where attempting to load a Sega CD cue file in the picodrive core reports "unsupported console for buffer hash".

The behavioral override extensions for the PicoDrive core were updated to include "cue" last November.

As a result, the frontend uses the needs_fullpath from the content override data instead of the needs_fullpath from the system info, and the content override data does not claim it needs the full path, so the cue file gets buffered and then it attempts to hash the cue file instead of loading the associated disc.

Similarly, the new virtualjaguar core does not set CONTENT_INFO_FLAG_NEED_FULLPATH, so the cue file gets buffered when loading a Jaguar CD game, and the hashing code doesn't try to process the contents of the cue.

As these cores support both CD and non-CD games, it's easier to just override the behavior when calling the hasher. That will also handle any other cores that would be similarly affected.

Related Issues

n/a

Related Pull Requests

n/a

Reviewers

@Sanaki

@LibretroAdmin

Copy link
Copy Markdown
Contributor

Spotting a C89 build error there that needs fixing

@LibretroAdmin
LibretroAdmin merged commit 65ff794 into libretro:master Aug 5, 2026
62 of 63 checks passed
@Jamiras
Jamiras deleted the bugfix/buffered_cue branch August 5, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants