Floppy fixes to handle TD0 and IMD images with some kinds of copy protection, fixes eg. F-19 Stealth Fighter from 1988.
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
*
|
||||
* Implementation of the PCjs JSON floppy image format.
|
||||
*
|
||||
* Version: @(#)fdd_json.c 1.0.6 2018/10/18
|
||||
* Version: @(#)fdd_json.c 1.0.7 2019/12/05
|
||||
*
|
||||
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
*
|
||||
* Copyright 2017,2018 Fred N. van Kempen.
|
||||
* Copyright 2017-2019 Fred N. van Kempen.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with
|
||||
* or without modification, are permitted provided that the
|
||||
@@ -55,6 +55,7 @@
|
||||
#include "../timer.h"
|
||||
#include "../plat.h"
|
||||
#include "fdd.h"
|
||||
#include "fdd_86f.h"
|
||||
#include "fdc.h"
|
||||
#include "fdd_common.h"
|
||||
#include "fdd_json.h"
|
||||
@@ -456,8 +457,7 @@ json_seek(int drive, int track)
|
||||
drive, side, pos, id,
|
||||
dev->sects[track][side][asec].data,
|
||||
ssize, gap2, gap3,
|
||||
0, /*deleted flag*/
|
||||
0 /*bad_crc flag*/
|
||||
0 /*flags*/
|
||||
);
|
||||
|
||||
if (sector == 0)
|
||||
|
||||
Reference in New Issue
Block a user