diff --git a/src/Components/Loader.cpp b/src/Components/Loader.cpp index ea906ecd..b773edff 100644 --- a/src/Components/Loader.cpp +++ b/src/Components/Loader.cpp @@ -81,6 +81,7 @@ namespace Components Loader::Register(new FrameTime()); Loader::Register(new Gametypes()); Loader::Register(new Materials()); + Loader::Register(new Scheduler()); Loader::Register(new Threading()); Loader::Register(new CardTitles()); Loader::Register(new FileSystem()); diff --git a/src/Components/Modules/Scheduler.cpp b/src/Components/Modules/Scheduler.cpp index 8a81ab97..9753923c 100644 --- a/src/Components/Modules/Scheduler.cpp +++ b/src/Components/Modules/Scheduler.cpp @@ -50,8 +50,6 @@ namespace Components void Scheduler::FrameHandler() { - Scheduler::ReadyHandler(); - Scheduler::DelaySignal(); Scheduler::FrameSignal(); diff --git a/src/Utils/Memory.cpp b/src/Utils/Memory.cpp index 6b102fe4..e767739d 100644 --- a/src/Utils/Memory.cpp +++ b/src/Utils/Memory.cpp @@ -6,6 +6,7 @@ namespace Utils { void* data = _aligned_malloc(length, alignment); assert(data != nullptr); + ZeroMemory(data, length); return data; }