Skip to content

Commit

Permalink
Fix savestates for OD Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
plrguez committed Jul 27, 2021
1 parent e45aee4 commit 9090bd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sdl-dingux/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ static INT32 StateInfo(INT32* pnLen, INT32* pnMinVer, INT32 bAll)
static int __cdecl ReadAcb(struct BurnArea* pba)
{
fread(pba->Data, 1, pba->nLen, bfp);
return 0;
}

// State load
Expand Down Expand Up @@ -198,6 +199,7 @@ static int __cdecl WriteAcb(struct BurnArea *pba)
//printf("WRITE ACB - len: %i, name: %s\n", pba->nLen, pba->szName);
fwrite(pba->Data, 1, pba->nLen, bfp);
nTotalLen += pba->nLen;
return 0;
}

// Write a savestate as a chunk of an "FBS " file
Expand Down

0 comments on commit 9090bd8

Please sign in to comment.