MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / UpdateLightStatus

Method UpdateLightStatus

source/Harddisk.cpp:1221–1228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1219//===========================================================================
1220
1221void HarddiskInterfaceCard::UpdateLightStatus(HardDiskDrive* pHDD)
1222{
1223 if (pHDD->m_status_prev != pHDD->m_status_next) // Update LEDs if state changes
1224 {
1225 pHDD->m_status_prev = pHDD->m_status_next;
1226 GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_DISK_STATUS);
1227 }
1228}
1229
1230void HarddiskInterfaceCard::GetLightStatus(Disk_Status_e *pDisk1Status)
1231{

Callers 2

IOReadMethod · 0.80
IOWriteMethod · 0.80

Calls 1

FrameRefreshStatusMethod · 0.80

Tested by

no test coverage detected