geode/loader/src/hooks/update.cpp

12 lines
298 B
C++
Raw Normal View History

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