housekeeping

This commit is contained in:
scawful
2022-09-02 17:42:09 -05:00
parent 2a10637e15
commit d4f37d2422
2 changed files with 3 additions and 6 deletions

View File

@@ -25,6 +25,7 @@ constexpr int kSNESToPCOffset = 0x138000;
class ScriptTemplate {
public:
virtual ~ScriptTemplate() = default;
virtual absl::Status ApplyPatchToROM(ROM& rom) = 0;
virtual absl::Status GenerateMosaicChangeAssembly(
ROM& rom, char mosaic_tiles[core::kNumOverworldMaps], int routine_offset,

View File

@@ -46,12 +46,8 @@ class Bitmap {
private:
struct sdl_deleter {
void operator()(SDL_Texture *p) const {
SDL_DestroyTexture(p);
}
void operator()(SDL_Surface *p) const {
SDL_FreeSurface(p);
}
void operator()(SDL_Texture *p) const { SDL_DestroyTexture(p); }
void operator()(SDL_Surface *p) const { SDL_FreeSurface(p); }
};
int width_ = 0;