mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-07-04 10:09:05 +00:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user