Fixed bugs that were preventing NVR and Flash files from behind saved;

A lot of clean ups from waltje;
Start of a directory structure for the code, thanks to waltje.
This commit is contained in:
OBattler
2017-05-06 17:48:33 +02:00
parent e2a717deae
commit f6612fb33b
344 changed files with 2011 additions and 1870 deletions

View File

@@ -6,10 +6,10 @@
#include <string.h>
#include "86box.h"
#include "ibm.h"
#include "timer.h"
#include "device.h"
#include "cdrom.h"
#include "scsi.h"
#include "timer.h"
#include "scsi_buslogic.h"
@@ -106,7 +106,7 @@ void SCSIReset(uint8_t id, uint8_t lun)
if (hdc_id != 0xff) {
scsi_hd_reset(cdrom_id);
SCSIDevices[id][lun].LunType = SCSI_HDD;
SCSIDevices[id][lun].LunType = SCSI_DISK;
} else {
if (cdrom_id != 0xff)
{