| 53 | } // namespace iTRCDisk |
| 54 | |
| 55 | BOOL ROMFont::Init() |
| 56 | { |
| 57 | if (OSGetFontEncode() == 1) |
| 58 | { |
| 59 | ROMFont::mFontData = (OSFontHeader*)OSAllocFromHeap(__OSCurrHeap, 0x120F00); |
| 60 | } |
| 61 | else |
| 62 | { |
| 63 | ROMFont::mFontData = (OSFontHeader*)OSAllocFromHeap(__OSCurrHeap, 0x20120); |
| 64 | } |
| 65 | |
| 66 | OSFontHeader* volatile& hack = ROMFont::mFontData; |
| 67 | return OSInitFont(hack); |
| 68 | } |
| 69 | |
| 70 | void ROMFont::InitDisplay(_GXRenderModeObj* InRenderMode) |
| 71 | { |
nothing calls this directly
no test coverage detected