Fixed the signedness of some variables in the ide struct.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
* Implementation of the IDE emulation for hard disks and ATAPI
|
* Implementation of the IDE emulation for hard disks and ATAPI
|
||||||
* CD-ROM devices.
|
* CD-ROM devices.
|
||||||
*
|
*
|
||||||
* Version: @(#)hdd_ide.h 1.0.10 2018/05/02
|
* Version: @(#)hdd_ide.h 1.0.10 2018/09/13
|
||||||
*
|
*
|
||||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||||
* Miran Grca, <mgrca8@gmail.com>
|
* Miran Grca, <mgrca8@gmail.com>
|
||||||
@@ -29,14 +29,14 @@ typedef struct {
|
|||||||
hdd_num, channel,
|
hdd_num, channel,
|
||||||
pos, sector_pos,
|
pos, sector_pos,
|
||||||
lba, skip512,
|
lba, skip512,
|
||||||
reset, tracks,
|
reset, mdma_mode,
|
||||||
spt, hpc,
|
do_initial_read;
|
||||||
mdma_mode, do_initial_read;
|
|
||||||
uint32_t secount, sector,
|
uint32_t secount, sector,
|
||||||
cylinder, head,
|
cylinder, head,
|
||||||
drive, cylprecomp,
|
drive, cylprecomp,
|
||||||
cfg_spt, cfg_hpc,
|
cfg_spt, cfg_hpc,
|
||||||
lba_addr;
|
lba_addr, tracks,
|
||||||
|
spt, hpc;
|
||||||
|
|
||||||
uint16_t *buffer;
|
uint16_t *buffer;
|
||||||
uint8_t *sector_buffer;
|
uint8_t *sector_buffer;
|
||||||
|
Reference in New Issue
Block a user