ams: remove TYPED_STORAGE() macro in favor of template
This commit is contained in:
1 parent
8d9174b227
commit
aff0da9427
31 files changed
+55
-57
No files matched your search
@@ -23,8 +23,8 @@ namespace ams::fs {
|
||||
constinit os::SdkMutex g_mount_stratosphere_romfs_lock;
|
||||
constinit bool g_mounted_stratosphere_romfs = false;
|
||||
|
||||
constinit TYPED_STORAGE(FileHandleStorage) g_stratosphere_romfs_storage = {};
|
||||
constinit TYPED_STORAGE(RomFsFileSystem) g_stratosphere_romfs_fs = {};
|
||||
constinit util::TypedStorage<FileHandleStorage> g_stratosphere_romfs_storage = {};
|
||||
constinit util::TypedStorage<RomFsFileSystem> g_stratosphere_romfs_fs = {};
|
||||
|
||||
Result EnsureStratosphereRomfsMounted() {
|
||||
std::scoped_lock lk(g_mount_stratosphere_romfs_lock);
|
||||
|
||||
Reference in new issue
Block a user