stratosphere: use SdkMutex/SdkRecursiveMutex over Mutex
This commit is contained in:
1 parent
a4fe1bb5d8
commit
41ab4c2c68
70 files changed
+188
-645
No files matched your search
@@ -258,8 +258,8 @@ namespace ams::mitm::fs {
|
||||
}
|
||||
}
|
||||
|
||||
os::Mutex g_fs_romfs_path_lock(false);
|
||||
char g_fs_romfs_path_buffer[fs::EntryNameLengthMax + 1];
|
||||
constinit os::SdkMutex g_fs_romfs_path_lock;
|
||||
constinit char g_fs_romfs_path_buffer[fs::EntryNameLengthMax + 1];
|
||||
|
||||
NOINLINE void OpenFileSystemRomfsDirectory(FsDir *out, ncm::ProgramId program_id, BuildDirectoryContext *parent, fs::OpenDirectoryMode mode, FsFileSystem *fs) {
|
||||
std::scoped_lock lk(g_fs_romfs_path_lock);
|
||||
|
||||
Reference in new issue
Block a user