add rom filename command line arg LoadFromFile

This commit is contained in:
scawful
2024-05-28 13:04:39 -04:00
parent cc80e5e502
commit a9787b7055
5 changed files with 14 additions and 4 deletions

View File

@@ -58,7 +58,8 @@ class MasterEditor : public SharedRom,
public:
MasterEditor() { current_editor_ = &overworld_editor_; }
void SetupScreen(std::shared_ptr<SDL_Renderer> renderer);
void SetupScreen(std::shared_ptr<SDL_Renderer> renderer,
std::string filename = "");
absl::Status Update();
void Shutdown() { overworld_editor_.Shutdown(); }