remove filedisk switch

This commit is contained in:
sfja 2026-11-11 15:04:03 +01:00
parent 2a252b2eec
commit c768211ae6

View File

@ -521,12 +521,7 @@ int main(int argc, char *argv[])
mtx_destroy(&vm.mtx); mtx_destroy(&vm.mtx);
cnd_destroy(&vm.cnd); cnd_destroy(&vm.cnd);
free(vm.state.memory); free(vm.state.memory);
#ifdef USE_MEMDISK
free(disk.buffer);
#else
fclose(disk_file); fclose(disk_file);
#endif
#ifndef DISABLE_SDL #ifndef DISABLE_SDL
free(vcd.alt_char_buffer); free(vcd.alt_char_buffer);