housekeeping
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user