geode/loader/src/hooks/update.cpp

13 lines
308 B
C++
Raw Normal View History

#include <loader/LoaderImpl.hpp>
2022-07-30 12:24:03 -04:00
using namespace geode::prelude;
#include <Geode/modify/CCScheduler.hpp>
struct FunctionQueue : Modify<FunctionQueue, CCScheduler> {
2022-07-30 12:24:03 -04:00
void update(float dt) {
LoaderImpl::get()->executeGDThreadQueue();
2022-07-30 12:24:03 -04:00
return CCScheduler::update(dt);
}
};