mirror of
https://github.com/BanjoRecomp/BanjoRecomp
synced 2026-08-27 15:56:45 -04:00
18 lines
459 B
C
18 lines
459 B
C
#include "functions.h"
|
|
#include "patches.h"
|
|
#include "ui_funcs.h"
|
|
|
|
extern s32 D_802823AC;
|
|
extern f32 D_80282420;
|
|
extern f32 D_80282424;
|
|
|
|
// @recomp Patched to run a callback per frame in a function that always gets called by mainLoop().
|
|
RECOMP_PATCH void baMotor_80250C08(void) {
|
|
// @recomp Patched to run UI callbacks.
|
|
recomp_run_ui_callbacks();
|
|
|
|
if (D_802823AC != 0) {
|
|
D_80282424 = MIN(D_80282420, D_80282424 + time_getDelta());
|
|
}
|
|
}
|