From 9090bd8148f19f0d8cdbe79ed072a702e2f8ecff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Luis=20Rodr=C3=ADguez=20Gonz=C3=A1lez?= Date: Tue, 27 Jul 2021 09:16:00 +0200 Subject: [PATCH] Fix savestates for OD Beta --- src/sdl-dingux/state.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl-dingux/state.cpp b/src/sdl-dingux/state.cpp index da848e22b..e417d3517 100644 --- a/src/sdl-dingux/state.cpp +++ b/src/sdl-dingux/state.cpp @@ -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 @@ -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