mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-24 06:39:53 -06:00
Implement Shared Fonts (#215)
* Implement Shared Fonts This fully implements shared fonts. This commit is provided without fonts. This commit also add Size to HSharedMem.Positions to be able to add fonts to shared zones when RequestLoad is called. * Require the user to provide fonts in RyuFS/system * Use File.Exits instead of relying ona try/catch and change system resource exception format a bit * Make sure that font sum doesn't exceed 17MB Also rename font data dictionary for coherence.
This commit is contained in:

committed by
gdkchan

parent
5f34353dce
commit
eeb626947e
@ -8,6 +8,7 @@ namespace Ryujinx.HLE
|
||||
private const string BasePath = "RyuFs";
|
||||
private const string NandPath = "nand";
|
||||
private const string SdCardPath = "sdmc";
|
||||
private const string SystemPath = "system";
|
||||
|
||||
public Stream RomFs { get; private set; }
|
||||
|
||||
@ -45,6 +46,8 @@ namespace Ryujinx.HLE
|
||||
|
||||
public string GetGameSavesPath() => MakeDirAndGetFullPath(NandPath);
|
||||
|
||||
public string GetSystemPath() => MakeDirAndGetFullPath(SystemPath);
|
||||
|
||||
public string SwitchPathToSystemPath(string SwitchPath)
|
||||
{
|
||||
string[] Parts = SwitchPath.Split(":");
|
||||
|
Reference in New Issue
Block a user