summaryrefslogtreecommitdiff
path: root/soh/src/code/graph.c
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2022-05-12 13:28:24 -0400
committerGitHub <noreply@github.com>2022-05-12 13:28:24 -0400
commit635fb71b76ad45fb46bceb9c566c6fdc651e3ded (patch)
tree34db0051230835cc5847f8e2a3300df8b9517612 /soh/src/code/graph.c
parent57463051576e8208c18f560598f96cd5e64364c8 (diff)
Save states (#300)
Diffstat (limited to 'soh/src/code/graph.c')
-rw-r--r--soh/src/code/graph.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/soh/src/code/graph.c b/soh/src/code/graph.c
index 9f744ec02..4b1887c18 100644
--- a/soh/src/code/graph.c
+++ b/soh/src/code/graph.c
@@ -431,6 +431,8 @@ static struct RunFrameContext {
extern AudioMgr gAudioMgr;
+extern void ProcessSaveStateRequests(void);
+
static void RunFrame()
{
u32 size;
@@ -487,6 +489,7 @@ static void RunFrame()
//uint64_t diff = (ticksB - ticksA) / (freq / 1000);
//printf("Frame simulated in %ims\n", diff);
runFrameContext.state = 1;
+ ProcessSaveStateRequests();
return;
nextFrame:;
}