Fixed compile-breaking mistakes in three files.
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
* Copyright 2020 RichardG.
|
* Copyright 2020 RichardG.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
#include "hwm.h"
|
#include "hwm.h"
|
||||||
|
|
||||||
|
@@ -35,6 +35,7 @@
|
|||||||
#include "device.h"
|
#include "device.h"
|
||||||
#include "apm.h"
|
#include "apm.h"
|
||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
|
#include "machine.h"
|
||||||
#include "mem.h"
|
#include "mem.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
#include "nvr.h"
|
#include "nvr.h"
|
||||||
@@ -1209,6 +1210,7 @@ static void
|
|||||||
*piix_init(const device_t *info)
|
*piix_init(const device_t *info)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
CPU *cpu_s = &machines[machine].cpu[cpu_manufacturer].cpus[cpu];
|
||||||
|
|
||||||
piix_t *dev = (piix_t *) malloc(sizeof(piix_t));
|
piix_t *dev = (piix_t *) malloc(sizeof(piix_t));
|
||||||
memset(dev, 0, sizeof(piix_t));
|
memset(dev, 0, sizeof(piix_t));
|
||||||
|
@@ -447,7 +447,7 @@ ncr53c8xx_soft_reset(ncr53c8xx_t *dev)
|
|||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
#ifdef USE_WDTR
|
#ifdef USE_WDTR
|
||||||
dev->tr_set[i] = 0;
|
dev->tr_set[i] = 0;
|
||||||
#Endif
|
#endif
|
||||||
scsi_device_reset(&scsi_devices[i]);
|
scsi_device_reset(&scsi_devices[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user