logger: make thread safe, use std::string_view with std::println

This commit is contained in:
Hyper
2024-12-12 22:46:54 +00:00
parent e7d7431b58
commit 3e21a26f6a
5 changed files with 22 additions and 9 deletions

View File

@@ -16,6 +16,7 @@
#include <user/paths.h>
#include <kernel/xdbf.h>
#include <install/installer.h>
#include <os/logger.h>
#include <ui/installer_wizard.h>
#define GAME_XEX_PATH "game:\\default.xex"
@@ -144,6 +145,8 @@ uint32_t LdrLoadModule(const char* path)
int main(int argc, char *argv[])
{
os::logger::Init();
bool forceInstaller = false;
bool forceDLCInstaller = false;
for (uint32_t i = 1; i < argc; i++)