mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-09 23:06:47 +03:00
refactor(sound): use changed STORM_LOG defines
This commit is contained in:
parent
eeee2fffe3
commit
0d09dee4b3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user