From 8b38b3990ca9a2b0cd695dcbbf2e04efff9ffd2d Mon Sep 17 00:00:00 2001 From: momo5502 Date: Mon, 12 Jun 2017 19:54:11 +0200 Subject: [PATCH] [Main] Directly jump to the initialization routine --- src/Components/Loader.cpp | 2 +- src/Main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Loader.cpp b/src/Components/Loader.cpp index f4dd91e8..767e2e23 100644 --- a/src/Components/Loader.cpp +++ b/src/Components/Loader.cpp @@ -190,7 +190,7 @@ namespace Components { if (component) { -#ifdef DEBUG +#if defined(DEBUG) || defined(FORCE_UNIT_TESTS) if(!Loader::PerformingUnitTests()) { Logger::Print("Component registered: %s\n", component->getName().data()); diff --git a/src/Main.cpp b/src/Main.cpp index 899dc4c5..c65b5333 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -49,7 +49,7 @@ namespace Main call Main::Initialize popad - push 6BAC14h // Continue init routine + push 6BAA2Fh // Continue init routine push 6CA062h // ___security_init_cookie retn }