refactor(sound): use changed STORM_LOG defines

This commit is contained in:
superp00t 2024-09-07 13:05:38 -04:00
parent eeee2fffe3
commit 0d09dee4b3

View File

@ -3,13 +3,13 @@
#include <bc/os/File.hpp>
#include <cstdio>
uint32_t SI2::sm_logFlags = SLOG_FLAG_DEFAULT;
uint32_t SI2::sm_logFlags = STORM_LOG_FLAG_DEFAULT;
HSLOG SI2::sm_log = nullptr;
int32_t SI2::Log_Init() {
OsCreateDirectory("Logs", 0);
SLogCreate("Logs\\Sound.log", sm_logFlags, &sm_log);
sm_logFlags |= SLOG_FLAG_APPEND;
sm_logFlags |= STORM_LOG_FLAG_APPEND;
// return OsDeleteFile((Blizzard::File*)"Logs\\SESound.log");
return 0;
}