diff --git a/src/core/fs/archive_save_data.cpp b/src/core/fs/archive_save_data.cpp index a25ba08f..52ca6ad0 100644 --- a/src/core/fs/archive_save_data.cpp +++ b/src/core/fs/archive_save_data.cpp @@ -106,7 +106,7 @@ void SaveDataArchive::format(const FSPath& path, const ArchiveBase::FormatInfo& fs::create_directories(saveDataPath); // Write format info on disk - IOFile file(formatInfoPath, "wb"); + IOFile file(formatInfoPath, "wb+"); file.writeBytes(&info, sizeof(info)); } diff --git a/src/core/services/dsp.cpp b/src/core/services/dsp.cpp index 8b11c6bf..3ba962ad 100644 --- a/src/core/services/dsp.cpp +++ b/src/core/services/dsp.cpp @@ -267,6 +267,7 @@ void DSPService::writeProcessPipe(u32 messagePointer) { default: Helpers::panic("Unimplemented DSP audio pipe state change %d", state); } } + break; } default: