[Main] Directly jump to the initialization routine

This commit is contained in:
momo5502 2017-06-12 19:54:11 +02:00
parent 342e19e87b
commit 8b38b3990c
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ namespace Components
{ {
if (component) if (component)
{ {
#ifdef DEBUG #if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
if(!Loader::PerformingUnitTests()) if(!Loader::PerformingUnitTests())
{ {
Logger::Print("Component registered: %s\n", component->getName().data()); Logger::Print("Component registered: %s\n", component->getName().data());

View File

@ -49,7 +49,7 @@ namespace Main
call Main::Initialize call Main::Initialize
popad popad
push 6BAC14h // Continue init routine push 6BAA2Fh // Continue init routine
push 6CA062h // ___security_init_cookie push 6CA062h // ___security_init_cookie
retn retn
} }