1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-02 01:16:32 -05:00

Add support for disabling log from settings

This commit is contained in:
Sean
2014-10-27 17:18:28 -04:00
parent ae311eb3ef
commit 371b61f3ea
8 changed files with 37 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
#include "common/common.h"
#include "common/log_manager.h"
#include "core/settings.h"
#include "core/system.h"
#include "core/core.h"
#include "core/loader/loader.h"
@@ -22,6 +23,9 @@ int __cdecl main(int argc, char **argv) {
}
Config config;
if (!Settings::values.enable_log)
LogManager::Shutdown();
std::string boot_filename = argv[1];
EmuWindow_GLFW* emu_window = new EmuWindow_GLFW;