fix typos and casting

This commit is contained in:
Justin Scofield
2022-06-18 00:29:06 -04:00
parent 011f89acc3
commit fdd4b0a99a
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ uchar* ROM::LoadGraphicsSheet(int offset) {
auto tilesheet_position = Core::Constants::gfx_1_pointer +
(offset * Core::Constants::UncompressedSheetSize);
auto data = Decompress(tilesheet_position);
return SNES3bppTo8bppSheet(data);
return SNES3bppTo8bppSheet((uchar*)data);
}
// char *buffer = new char[0x800] AKA sheet_buffer_in 3bpp