| 175 | } |
| 176 | |
| 177 | static int WriteStateChunk(EMUFILE* os, int type, SFORMAT *sf) |
| 178 | { |
| 179 | os->fputc(type); |
| 180 | int bsize = SubWrite((EMUFILE*)0,sf); |
| 181 | write32le(bsize,os); |
| 182 | |
| 183 | if(!SubWrite(os,sf)) |
| 184 | { |
| 185 | return 5; |
| 186 | } |
| 187 | return (bsize+5); |
| 188 | } |
| 189 | |
| 190 | static SFORMAT *CheckS(SFORMAT *sf, uint32 tsize, char *desc) |
| 191 | { |
no test coverage detected