Give SPI_Firmware the unique_ptr instead

This commit is contained in:
Jesse Talavera-Greenberg 2023-08-24 22:35:56 -04:00
parent 40dad4f076
commit 3046d1eb1f

View File

@ -1259,7 +1259,7 @@ static void melonds::config::apply_system_options(const optional<NDSHeader>& hea
_directBoot = true;
}
SPI_Firmware::InstallFirmware(std::move(*firmware.release()));
SPI_Firmware::InstallFirmware(std::move(firmware));
}
static void melonds::config::apply_audio_options() noexcept {