[nostalgia/core] Fix GBA compile errors

This commit is contained in:
2019-10-28 00:41:20 -05:00
parent 4f81c47734
commit ce94af3f00
3 changed files with 13 additions and 2 deletions
+10 -1
View File
@@ -169,6 +169,10 @@ ox::Error initGfx(Context*) {
return OxError(0);
}
ox::Error shutdownGfx() {
return OxError(0);
}
// Do NOT use Context in the GBA version of this function.
ox::Error initConsole(Context*) {
const auto PaletteStart = sizeof(GbaImageDataHeader);
@@ -204,7 +208,12 @@ ox::Error initConsole(Context*) {
return err;
}
ox::Error loadTileSheet(Context*, ox::FileAddress inode) {
ox::Error loadTileSheet(Context*,
TileSheetSpace,
int,
ox::FileAddress tilesheetPath,
ox::FileAddress) {
auto inode = tilesheetPath.getInode().value;
ox::Error err(0);
const auto PaletteStart = sizeof(GbaImageDataHeader);
GbaImageDataHeader imgData;