[Scheduler] Correctly register the scheduler

This commit is contained in:
momo5502 2017-06-01 10:54:16 +02:00
parent fe3e37347d
commit 1b6255f069
3 changed files with 2 additions and 2 deletions

View File

@ -81,6 +81,7 @@ namespace Components
Loader::Register(new FrameTime()); Loader::Register(new FrameTime());
Loader::Register(new Gametypes()); Loader::Register(new Gametypes());
Loader::Register(new Materials()); Loader::Register(new Materials());
Loader::Register(new Scheduler());
Loader::Register(new Threading()); Loader::Register(new Threading());
Loader::Register(new CardTitles()); Loader::Register(new CardTitles());
Loader::Register(new FileSystem()); Loader::Register(new FileSystem());

View File

@ -50,8 +50,6 @@ namespace Components
void Scheduler::FrameHandler() void Scheduler::FrameHandler()
{ {
Scheduler::ReadyHandler();
Scheduler::DelaySignal(); Scheduler::DelaySignal();
Scheduler::FrameSignal(); Scheduler::FrameSignal();

View File

@ -6,6 +6,7 @@ namespace Utils
{ {
void* data = _aligned_malloc(length, alignment); void* data = _aligned_malloc(length, alignment);
assert(data != nullptr); assert(data != nullptr);
ZeroMemory(data, length);
return data; return data;
} }