summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/atapihle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/atapihle.c')
-rw-r--r--src/emu/machine/atapihle.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/machine/atapihle.c b/src/emu/machine/atapihle.c
index c57cde5c212..4b749ee36e6 100644
--- a/src/emu/machine/atapihle.c
+++ b/src/emu/machine/atapihle.c
@@ -244,6 +244,12 @@ void atapi_hle_device::process_command()
set_irq(ASSERT_LINE);
break;
+ case IDE_COMMAND_CHECK_POWER_MODE:
+ m_status = IDE_STATUS_DRDY;
+ m_sector_count = 0xff; // Power mode: 0x00 = Standby, 0x80 = Idle mode, 0xff = Active mode or Idle mode
+ set_irq(ASSERT_LINE);
+ break;
+
default:
ata_hle_device::process_command();
break;