Add LoadFontGraphics function and update Load2BppGraphics sheet IDs

- Introduced LoadFontGraphics function to handle font graphics loading from ROM data.
- Updated Load2BppGraphics to use hex sheet IDs.
This commit is contained in:
scawful
2025-05-10 11:01:24 -04:00
parent a393303d41
commit f75830c06c
2 changed files with 61 additions and 2 deletions

View File

@@ -264,6 +264,8 @@ absl::StatusOr<std::vector<uint8_t>> Load2BppGraphics(const Rom& rom);
absl::StatusOr<std::array<gfx::Bitmap, kNumLinkSheets>> LoadLinkGraphics(
const Rom& rom);
absl::StatusOr<gfx::Bitmap> LoadFontGraphics(const Rom& rom);
/**
* @brief A class to hold a shared pointer to a Rom object.
*/