geode/loader/src/hooks/update.cpp
PoweredByPie 5af15fba7c Add geode::prelude to replace USE_GEODE_NAMESPACE()
Don't use macros where not necessary!
This deprecates the old macro by way of a weird alias namespace.
2023-03-10 12:09:48 -08:00

12 lines
308 B
C++

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