mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 08:34:23 -04:00
ams: remove TYPED_STORAGE() macro in favor of template
This commit is contained in:
parent
8d9174b227
commit
aff0da9427
31 changed files with 55 additions and 57 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue