Proliferate use of SharedROM

This commit is contained in:
scawful
2023-08-18 17:19:42 -04:00
parent 905db2d57b
commit 5cc680762e
16 changed files with 99 additions and 79 deletions

View File

@@ -54,10 +54,9 @@ static const char* kGameSongs[] = {"Title",
static constexpr absl::string_view kSongNotes[] = {
"C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "C",
"C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "C"};
class MusicEditor {
class MusicEditor : public SharedROM {
public:
void Update();
void SetupROM(ROM& rom) { rom_ = rom; }
private:
void DrawChannels();
@@ -67,7 +66,6 @@ class MusicEditor {
void DrawToolset();
zelda3::Tracker music_tracker_;
ROM rom_;
// Mix_Music* current_song_ = NULL;