From 3f29eb5f6cb212855a3d7c2380b1ea1de570acb3 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Fri, 11 Aug 2023 16:42:18 +0300 Subject: [PATCH] Stub FS::ControlArchive mode 1 --- src/core/services/fs.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/services/fs.cpp b/src/core/services/fs.cpp index 7b64b234..c5b69c0e 100644 --- a/src/core/services/fs.cpp +++ b/src/core/services/fs.cpp @@ -499,6 +499,12 @@ void FSService::controlArchive(u32 messagePointer) { case 0: // Commit save data changes. Shouldn't need us to do anything mem.write32(messagePointer + 4, Result::Success); break; + + case 1: // Retrieves a file's last-modified timestamp. Seen in DDLC, stubbed for the moment + Helpers::warn("FS::ControlArchive: Tried to retrieve a file's last-modified timestamp"); + mem.write32(messagePointer + 4, Result::Success); + break; + default: Helpers::panic("Unimplemented action for ControlArchive (action = %X)\n", action); break;