summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-02-13 17:47:59 +0100
committer hap <happppp@users.noreply.github.com>2024-02-13 17:48:15 +0100
commitbabb569e6e614482b4b8d4505b39946340293776 (patch)
tree6c4a748a09f63e67fc956e45a7d25dda794f86b6 /src/devices/cpu/h8/h8.cpp
parent6872b33057fd5822ada5a8d2296f92c09f12aaa9 (diff)
cxg: renamed some source files
New systems marked not working ------------------------------ Sphinx Chess Professor [hap, Berger] Kasparov GK 2000 [hap, Sean Riddle]
Diffstat (limited to 'src/devices/cpu/h8/h8.cpp')
-rw-r--r--src/devices/cpu/h8/h8.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/devices/cpu/h8/h8.cpp b/src/devices/cpu/h8/h8.cpp
index 9ca2fde7e70..bd6dc338605 100644
--- a/src/devices/cpu/h8/h8.cpp
+++ b/src/devices/cpu/h8/h8.cpp
@@ -9,7 +9,11 @@
TODO:
- use logmacro and be quiet by default, same for H8 peripherals that
currently have "static constexpr int V"
- - add STBY pin (hardware standby mode)
+ - NVRAM won't work properly when it goes into SSBY (software standby
+ mode) and the power button triggers an IRQ to wake up instead of RES.
+ Obviously, MAME always starts at reset-phase at power-on, so it's more
+ like a 'known issue' instead of a TODO since it can't really be fixed.
+ - add STBY pin (hardware standby mode, can only wake up with reset)
***************************************************************************/
@@ -540,7 +544,7 @@ void h8_device::prefetch_done_noirq_notrace()
void h8_device::set_irq(int irq_vector, int irq_level, bool irq_nmi)
{
// wake up from software standby with an external interrupt
- if(standby() && (irq_vector || irq_nmi)) {
+ if(standby() && irq_vector) {
resume(SUSPEND_REASON_CLOCK);
m_standby_cb(0);
}