Add UpdateBitmap to ROM

This commit is contained in:
Justin Scofield
2023-08-03 21:08:40 -04:00
parent 6ffae7a6e8
commit d2789ff7b6

View File

@@ -168,6 +168,10 @@ class ROM {
bitmap->CreateTexture(renderer_);
}
void UpdateBitmap(gfx::Bitmap* bitmap) const {
bitmap->UpdateTexture(renderer_);
}
private:
long size_ = 0;
bool is_loaded_ = false;