Use defines for limits
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
#ifndef EMU_IDE_H
|
||||
# define EMU_IDE_H
|
||||
|
||||
#define IDE_BUS_MAX 4
|
||||
#define IDE_CHAN_MAX 2
|
||||
|
||||
#define HDC_PRIMARY_BASE 0x01F0
|
||||
#define HDC_PRIMARY_SIDE 0x03F6
|
||||
#define HDC_PRIMARY_IRQ 14
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef EMU_SCSI_H
|
||||
# define EMU_SCSI_H
|
||||
|
||||
extern int scsi_card_current[4];
|
||||
extern int scsi_card_current[SCSI_BUS_MAX];
|
||||
|
||||
extern int scsi_card_available(int card);
|
||||
#ifdef EMU_DEVICE_H
|
||||
|
||||
Reference in New Issue
Block a user