[nostalgia/core/gba] Add sprite support
This commit is contained in:
@@ -17,7 +17,7 @@ ox::Error Zone::init(Context *ctx, Bounds bnds, ox::FileAddress tileSheet, ox::F
|
||||
const auto size = static_cast<std::size_t>(bnds.width * bnds.height);
|
||||
m_tiles = new Tile[size];
|
||||
m_bounds = bnds;
|
||||
return core::loadTileSheet(ctx, core::TileSheetSpace::Background, 0, tileSheet, palette);
|
||||
return core::loadBgTileSheet(ctx, 0, tileSheet, palette);
|
||||
}
|
||||
|
||||
Zone::~Zone() {
|
||||
|
||||
Reference in New Issue
Block a user