MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / ReadROM

Function ReadROM

src/dolphin/src/os/OSFont.c:377–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377static void ReadROM(void* string, int len, int offset)
378{
379 int inc;
380 while (len > 0)
381 {
382 if (len <= 0x100)
383 {
384 inc = len;
385 }
386 else
387 {
388 inc = 0x100;
389 }
390
391 len -= inc;
392
393 while (!__OSReadROM(string, inc, offset))
394 {
395 ;
396 }
397
398 offset += inc;
399 (u8*)string += inc;
400 }
401}
402
403inline u32 ReadFont(void* img, u16 encode, void* fontInfo)
404{

Callers 1

ReadFontFunction · 0.85

Calls 1

__OSReadROMFunction · 0.85

Tested by

no test coverage detected