summaryrefslogtreecommitdiff
path: root/soh/src/code/graph.c
diff options
context:
space:
mode:
authorSirius902 <10891979+Sirius902@users.noreply.github.com>2022-05-15 11:56:09 -0700
committerGitHub <noreply@github.com>2022-05-15 14:56:09 -0400
commitf217b9bb973e334ffc88e37b167cfffa45b4bd3f (patch)
tree809e0bfbdda57b917823032e3a89dc0a6d41daf9 /soh/src/code/graph.c
parent4e15f0b3d181c871876ba0de19ea3cbe42d65caf (diff)
Workaround for rumble duration being too long (#284)
Diffstat (limited to 'soh/src/code/graph.c')
-rw-r--r--soh/src/code/graph.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/soh/src/code/graph.c b/soh/src/code/graph.c
index 4b1887c18..651d405d5 100644
--- a/soh/src/code/graph.c
+++ b/soh/src/code/graph.c
@@ -478,7 +478,10 @@ static void RunFrame()
Graph_StartFrame();
- PadMgr_ThreadEntry(&gPadMgr);
+ // TODO: Workaround for rumble being too long. Implement os thread functions.
+ for (int i = 0; i < 3; i++) {
+ PadMgr_ThreadEntry(&gPadMgr);
+ }
Graph_Update(&runFrameContext.gfxCtx, runFrameContext.gameState);
ticksB = GetPerfCounter();