Save states (#300)

This commit is contained in:
louist103 2022-05-12 13:28:24 -04:00 committed by GitHub
parent 5746305157
commit 635fb71b76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 2084 additions and 634 deletions

View file

@ -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:;
}