mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
os: refactor/rewrite entire namespace.
This commit is contained in:
parent
6193283f03
commit
065485b971
181 changed files with 5353 additions and 1929 deletions
|
@ -40,10 +40,10 @@ namespace ams::dmnt {
|
|||
|
||||
/* Nintendo uses actual pointers as file handles. We'll add a layer of indirection... */
|
||||
bool g_sd_initialized = false;
|
||||
os::Mutex g_sd_lock;
|
||||
os::Mutex g_sd_lock(false);
|
||||
FsFileSystem g_sd_fs;
|
||||
|
||||
os::Mutex g_file_handle_lock;
|
||||
os::Mutex g_file_handle_lock(false);
|
||||
u64 g_cur_fd;
|
||||
std::unordered_map<TargetIOFileHandle, FsFile> g_file_handles;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue