From 2999c8325eb3ca2ef071a36b66bf6046dca83edf Mon Sep 17 00:00:00 2001 From: fearlessTobi Date: Wed, 6 Mar 2019 17:59:28 +0100 Subject: [PATCH] archive_extsavedata: add correct FileOpen delays --- src/core/file_sys/archive_extsavedata.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/file_sys/archive_extsavedata.cpp b/src/core/file_sys/archive_extsavedata.cpp index 519c233de..efcdb2d7f 100644 --- a/src/core/file_sys/archive_extsavedata.cpp +++ b/src/core/file_sys/archive_extsavedata.cpp @@ -71,10 +71,10 @@ public: } u64 GetOpenDelayNs() override { - // This is the delay measured for a savedata open, - // not for extsaveData - // For now we will take that - static constexpr u64 IPCDelayNanoseconds(269082); + // This is the delay measured on N3DS with + // https://gist.github.com/FearlessTobi/929b68489f4abb2c6cf81d56970a20b4 + // from the results the average of each length was taken. + static constexpr u64 IPCDelayNanoseconds(3085068); return IPCDelayNanoseconds; } };