mirror of
https://github.com/libretro/hatari.git
synced 2026-11-07 10:36:00 -10:00
Fix typo in DIM_WriteDisk() when libz is not used (reported by Darren Birks)
This commit is contained in:
1 parent
028dbf7f01
commit
0af3e2f652
1 file changed
+3
-3
+3
-3
@@ -141,10 +141,10 @@ bool DIM_WriteDisk(int Drive, const char *pszFileName, uint8_t *pBuffer, int Ima
|
||||
}
|
||||
#else
|
||||
fhdl = fopen(pszFileName, "rb");
|
||||
if (fhndl != NULL)
|
||||
if (fhdl != NULL)
|
||||
{
|
||||
fread(pDimFile, 32, 1, fhndl);
|
||||
fclose(fhndl);
|
||||
fread(pDimFile, 32, 1, fhdl);
|
||||
fclose(fhdl);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user