chore: Refactor audio loading and handling in Controller class

This commit is contained in:
scawful
2024-08-25 14:46:35 -04:00
parent 3eaf320ff4
commit d5650c8bb6
4 changed files with 10 additions and 44 deletions

View File

@@ -68,9 +68,6 @@ class ExperimentFlags {
// Log to the console.
bool kLogToConsole = false;
// Load audio device for emulator
bool kLoadAudioDevice = false;
// Overworld flags
struct Overworld {
// Load and render overworld sprites to the screen. Unstable.
@@ -132,8 +129,6 @@ class ExperimentFlags {
result +=
"kSaveDungeonMaps: " + std::to_string(flags_->kSaveDungeonMaps) + "\n";
result += "kLogToConsole: " + std::to_string(flags_->kLogToConsole) + "\n";
result +=
"kLoadAudioDevice: " + std::to_string(flags_->kLoadAudioDevice) + "\n";
result += "kDrawOverworldSprites: " +
std::to_string(flags_->overworld.kDrawOverworldSprites) + "\n";
result += "kSaveOverworldMaps: " +