Refactor EditorManager: remove DrawRomMenu method and simplify Close function

This commit is contained in:
scawful
2025-02-10 11:50:17 -05:00
parent c7608a8c0f
commit 169bd09495
3 changed files with 2 additions and 18 deletions

View File

@@ -104,11 +104,10 @@ class Rom {
size_ = size;
}
absl::Status Close() {
void Close() {
rom_data_.clear();
size_ = 0;
is_loaded_ = false;
return absl::OkStatus();
}
absl::StatusOr<uint8_t> ReadByte(int offset);