From 76934c405ed952d8b862cd764f371f8667ca5e85 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Sat, 25 Apr 2020 15:59:25 +0800 Subject: [PATCH] pcecd: show CD activity. --- support/pcecd/pcecdd.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/support/pcecd/pcecdd.cpp b/support/pcecd/pcecdd.cpp index c4ee524..db593fa 100644 --- a/support/pcecd/pcecdd.cpp +++ b/support/pcecd/pcecdd.cpp @@ -5,6 +5,7 @@ #include #include "../../file_io.h" +#include "../../user_io.h" #include "pcecd.h" @@ -303,6 +304,7 @@ void pcecdd_t::Reset() { void pcecdd_t::Update() { if (this->state == PCECD_STATE_READ) { + DISKLED_ON; if (this->latency > 0) { this->latency--; @@ -370,7 +372,9 @@ void pcecdd_t::Update() { } } } - else if (this->state == PCECD_STATE_PLAY) { + else if (this->state == PCECD_STATE_PLAY) + { + DISKLED_ON; if (this->latency > 0) { this->latency--;