[nostalgia/core/gba] Change charset to lookup by path
This commit is contained in:
parent
d53430abbc
commit
da2b588deb
@ -171,10 +171,11 @@ ox::Error initGfx(Context*) {
|
||||
|
||||
// Do NOT use Context in the GBA version of this function.
|
||||
ox::Error initConsole(Context*) {
|
||||
const auto CharsetInode = 101;
|
||||
const auto PaletteStart = sizeof(GbaImageDataHeader);
|
||||
ox::Error err = 0;
|
||||
ox::FileStore32 fs(loadRom(), 32 * 1024 * 1024);
|
||||
ox::FileStore32 fs(loadRom(), 32 * ox::units::MB);
|
||||
ox::FileSystem32 fileSystem(fs);
|
||||
const auto CharsetInode = fileSystem.stat("/TileSheets/Charset.ng").value.inode;
|
||||
|
||||
GbaImageDataHeader imgData;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user