summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2024-01-18 21:31:41 +0100
committerLiam <byteslice@airmail.cc>2024-01-25 22:42:05 +0100
commitcc09c265e15e9598844482a8b5a22b12650b3f1b (patch)
treeefca7a933c1a599e04a0201e1657717d755a3248 /src/core/hle/service/am
parentvfs: Move vfs files to their own directory (diff)
downloadyuzu-cc09c265e15e9598844482a8b5a22b12650b3f1b.tar
yuzu-cc09c265e15e9598844482a8b5a22b12650b3f1b.tar.gz
yuzu-cc09c265e15e9598844482a8b5a22b12650b3f1b.tar.bz2
yuzu-cc09c265e15e9598844482a8b5a22b12650b3f1b.tar.lz
yuzu-cc09c265e15e9598844482a8b5a22b12650b3f1b.tar.xz
yuzu-cc09c265e15e9598844482a8b5a22b12650b3f1b.tar.zst
yuzu-cc09c265e15e9598844482a8b5a22b12650b3f1b.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/applets/applet_web_browser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/am/applets/applet_web_browser.cpp b/src/core/hle/service/am/applets/applet_web_browser.cpp
index 0c826ded7..19057ad7b 100644
--- a/src/core/hle/service/am/applets/applet_web_browser.cpp
+++ b/src/core/hle/service/am/applets/applet_web_browser.cpp
@@ -9,7 +9,7 @@
#include "common/string_util.h"
#include "core/core.h"
#include "core/file_sys/content_archive.h"
-#include "core/file_sys/mode.h"
+#include "core/file_sys/fs_filesystem.h"
#include "core/file_sys/nca_metadata.h"
#include "core/file_sys/patch_manager.h"
#include "core/file_sys/registered_cache.h"
@@ -213,7 +213,7 @@ void ExtractSharedFonts(Core::System& system) {
std::move(decrypted_data), DECRYPTED_SHARED_FONTS[i]);
const auto temp_dir = system.GetFilesystem()->CreateDirectory(
- Common::FS::PathToUTF8String(fonts_dir), FileSys::Mode::ReadWrite);
+ Common::FS::PathToUTF8String(fonts_dir), FileSys::OpenMode::ReadWrite);
const auto out_file = temp_dir->CreateFile(DECRYPTED_SHARED_FONTS[i]);
@@ -333,7 +333,7 @@ void WebBrowser::ExtractOfflineRomFS() {
const auto extracted_romfs_dir = FileSys::ExtractRomFS(offline_romfs);
const auto temp_dir = system.GetFilesystem()->CreateDirectory(
- Common::FS::PathToUTF8String(offline_cache_dir), FileSys::Mode::ReadWrite);
+ Common::FS::PathToUTF8String(offline_cache_dir), FileSys::OpenMode::ReadWrite);
FileSys::VfsRawCopyD(extracted_romfs_dir, temp_dir);
}