Update file_utils.cpp

This commit is contained in:
souldbminersmwc committed 2026-10-05 19:44:31 -04:00
1 parent 7d6f296fa0
commit 4b9c4dfaf0
1 file changed
+9 -9
@@ -108,7 +108,7 @@ namespace file::utils {
// Debug UART log // Debug UART log
if (g_uart_enabled) { if (g_uart_enabled) {
svcOutputDebugString(buff, len); svc::OutputDebugString(buff, len);
} }
if (g_log_enabled) { if (g_log_enabled) {
@@ -188,27 +188,27 @@ namespace file::utils {
void InitializeAsync() { void InitializeAsync() {
Thread initThread = { 0 }; Thread initThread = { 0 };
threadCreate(&initThread, InitializeThreadFunc, NULL, NULL, 0x4000, 0x15, 0); thread::Create(&initThread, InitializeThreadFunc, NULL, NULL, 0x4000, 0x15, 0);
threadStart(&initThread); thread::Start(&initThread);
} }
Result Initialize() { Result Initialize() {
Result rc = 0; Result rc = 0;
if (R_SUCCEEDED(rc)) { if (R_SUCCEEDED(rc)) {
rc = timeInitialize(); rc = time::Initialize();
} }
__libnx_init_time(); __libnx_init_time();
timeExit(); time::Exit();
SetBootTime(); SetBootTime();
if (R_SUCCEEDED(rc)) { if (R_SUCCEEDED(rc)) {
rc = fsInitialize(); rc = fs::Initialize();
} }
if (R_SUCCEEDED(rc)) { if (R_SUCCEEDED(rc)) {
rc = fsdevMountSdmc(); rc = fsdev::MountSdmc();
} }
if (R_SUCCEEDED(rc)) { if (R_SUCCEEDED(rc)) {
@@ -230,8 +230,8 @@ namespace file::utils {
g_log_enabled = false; g_log_enabled = false;
g_uart_enabled = false; g_uart_enabled = false;
fsdevUnmountAll(); fsdev::UnmountAll();
fsExit(); fs::Exit();
} }
} // namespace file::utils } // namespace file::utils