Remove rom namespace

This commit is contained in:
scawful
2022-07-09 22:52:07 -04:00
parent 31f1850800
commit 982cc789fe
10 changed files with 18 additions and 21 deletions

View File

@@ -19,7 +19,6 @@
namespace yaze {
namespace app {
namespace rom {
class ROM {
public:
@@ -29,7 +28,8 @@ class ROM {
void LoadFromFile(const std::string& path);
char* Decompress(int pos, int size = 0x800, bool reversed = false);
gfx::SNESPalette ExtractPalette(uint addr, int bpp);
uchar* SNES3bppTo8bppSheet(uchar* buffer_in, int sheet_id = 0, int size = 0x1000);
uchar* SNES3bppTo8bppSheet(uchar* buffer_in, int sheet_id = 0,
int size = 0x1000);
SDL_Texture* DrawGraphicsSheet(int offset);
int GetPCGfxAddress(uint8_t id);
@@ -59,7 +59,6 @@ class ROM {
std::shared_ptr<SDL_Renderer> sdl_renderer_;
};
} // namespace rom
} // namespace app
} // namespace yaze