mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-19 07:37:12 +00:00
HDD error wasn't cleared on a reset or power-cycle - fixes #515
This commit is contained in:
@@ -289,6 +289,15 @@ static LPCTSTR HD_DiskGetBaseName(const int iDrive) // Not used
|
||||
return g_HardDisk[iDrive].imagename;
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
void HD_Reset(void)
|
||||
{
|
||||
g_HardDisk[HARDDISK_1].hd_error = 0;
|
||||
g_HardDisk[HARDDISK_2].hd_error = 0;
|
||||
}
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
void HD_Load_Rom(const LPBYTE pCxRomPeripheral, const UINT uSlot)
|
||||
|
||||
Reference in New Issue
Block a user