Fixed boot loop of Rhythm Heaven Groove (#156)

Fixed return value of GetSharedFontInOrderOfPriority to avoid being constantly rejected by the game, causing the boot loop.

Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/156
Reviewed-by: sh0inx <sh0inx@noreply.git.ryujinx.app>
This commit is contained in:
Martin Bai
2026-07-02 20:27:02 +00:00
committed by sh0inx
parent 6fb71b08ae
commit 5072904162

View File

@@ -103,8 +103,12 @@ namespace Ryujinx.HLE.HOS.Services.Sdb.Pl
loadedCount++; loadedCount++;
} }
// The first return value is a boolean "fonts_are_loaded" flag (u8), not a count.
// Some titles (e.g. newer SDK builds) validate it strictly against 1, so writing
// the font count here (e.g. 6) makes them reject the result and spin re-opening pl:u.
context.ResponseData.Write(1);
context.ResponseData.Write(loadedCount); context.ResponseData.Write(loadedCount);
context.ResponseData.Write((int)SharedFontType.Count); // context.ResponseData.Write((int)SharedFontType.Count);
return ResultCode.Success; return ResultCode.Success;
} }