From c7f676efd2d31a36ec6b2f496b0338525fbe2a16 Mon Sep 17 00:00:00 2001 From: wheremyfoodat Date: Thu, 18 May 2023 03:44:29 +0300 Subject: [PATCH] [DSP] Add missing break --- src/core/fs/archive_save_data.cpp | 2 +- src/core/services/dsp.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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: