mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Save states (#300)
This commit is contained in:
parent
5746305157
commit
635fb71b76
64 changed files with 2084 additions and 634 deletions
|
@ -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:;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue