mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
refactor(sound): use changed STORM_LOG defines
This commit is contained in:
parent
eeee2fffe3
commit
0d09dee4b3
1 changed files with 2 additions and 2 deletions
|
|
@ -3,13 +3,13 @@
|
||||||
#include <bc/os/File.hpp>
|
#include <bc/os/File.hpp>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
uint32_t SI2::sm_logFlags = SLOG_FLAG_DEFAULT;
|
uint32_t SI2::sm_logFlags = STORM_LOG_FLAG_DEFAULT;
|
||||||
HSLOG SI2::sm_log = nullptr;
|
HSLOG SI2::sm_log = nullptr;
|
||||||
|
|
||||||
int32_t SI2::Log_Init() {
|
int32_t SI2::Log_Init() {
|
||||||
OsCreateDirectory("Logs", 0);
|
OsCreateDirectory("Logs", 0);
|
||||||
SLogCreate("Logs\\Sound.log", sm_logFlags, &sm_log);
|
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 OsDeleteFile((Blizzard::File*)"Logs\\SESound.log");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue