geode/loader/src/hooks/update.cpp

12 lines
272 B
C++
Raw Normal View History

2022-07-30 12:24:03 -04:00
#include <InternalLoader.hpp>
USE_GEODE_NAMESPACE();
2022-10-13 04:31:23 -04:00
#include <codegenned/modify/CCScheduler.hpp>
2022-07-30 12:24:03 -04:00
class $modify(CCScheduler) {
void update(float dt) {
InternalLoader::get()->executeGDThreadQueue();
return CCScheduler::update(dt);
}
};