mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Removed unnecessary error message when AutoSearchSFX is enabled
Removed leftover from devlog_f() in release builds.
This commit is contained in:
@@ -115,8 +115,6 @@ void devlog_f(const char* fmt, int type, ...) {
|
||||
va_end(args);
|
||||
}
|
||||
}
|
||||
#else
|
||||
void devlog_f(...) {}
|
||||
#endif
|
||||
|
||||
void LoggingInit() {
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ void dlog_f(const char* fmt, int type, ...);
|
||||
// Prints debug message to sfall log file for develop build
|
||||
void devlog_f(const char* fmt, int type, ...);
|
||||
#else
|
||||
void devlog_f(...);
|
||||
#define devlog_f(...) ((void)0)
|
||||
#endif
|
||||
|
||||
void LoggingInit();
|
||||
|
||||
@@ -1068,6 +1068,7 @@ void Sound::init() {
|
||||
if (IniReader::GetConfigInt("Sound", "AutoSearchSFX", 1)) {
|
||||
const DWORD sfxlInitAddr[] = {0x4A9999, 0x4A9B34};
|
||||
HookCalls(sfxl_init_hook, sfxlInitAddr);
|
||||
SafeWrite8(0x4A9B3F, 0xA9); // jz 0x4A9BEC (skip error message)
|
||||
}
|
||||
|
||||
if (IniReader::GetConfigString("Sound", "MainMenuMusic", "", mainMenuMusic, 9)) {
|
||||
|
||||
Reference in New Issue
Block a user