minor fixes

parent f219eb75
......@@ -746,7 +746,7 @@ uae_u8 *save_log (int bootlog, int *len)
if (!logging_started)
return NULL;
f = _tfopen (bootlog ? LOG_BOOT : LOG_NORMAL, "rb");
f = fopen (bootlog ? LOG_BOOT : LOG_NORMAL, "rb");
if (!f)
return NULL;
fseek (f, 0, SEEK_END);
......
......@@ -808,7 +808,7 @@ int save_state (const TCHAR *filename, const TCHAR *description)
}
}
#endif
#ifdef CD32
for (i = 0; i < 10; i++) {
dst = save_cd (i, &len);
if (dst) {
......@@ -816,6 +816,7 @@ int save_state (const TCHAR *filename, const TCHAR *description)
save_chunk (f, dst, len, name, 0);
}
}
#endif
/* add fake END tag, makes it easy to strip CONF and LOG hunks */
/* move this if you want to use CONF or LOG hunks when restoring state */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment