summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author jflatt <jflatt@cox.net>2025-07-16 18:27:02 -0700
committer GitHub <noreply@github.com>2025-07-16 21:27:02 -0400
commitca9dce8f01e349f9883ccb92aa59fa54dd49f695 (patch)
tree91f092a0351fafeccca77209e2e7746f4e39a5e0
parent8e0093e63d12d2a59dc57a03973cf789dd94d37a (diff)
apple/macpwrbk030.cpp: Fix typo on MacBook battery ADC (#13960)
-rw-r--r--src/mame/apple/macpwrbk030.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/apple/macpwrbk030.cpp b/src/mame/apple/macpwrbk030.cpp
index ab211662845..7b10c5d9f67 100644
--- a/src/mame/apple/macpwrbk030.cpp
+++ b/src/mame/apple/macpwrbk030.cpp
@@ -1264,7 +1264,7 @@ void macpb030_state::macpb140(machine_config &config)
m_pmu->ad_in<0>().set(FUNC(macpb030_state::brightness_r));
m_pmu->ad_in<1>().set(FUNC(macpb030_state::battery_r));
m_pmu->ad_in<5>().set(FUNC(macpb030_state::battery2_r));
- m_pmu->ad_in<8>().set(FUNC(macpb030_state::battery3_r));
+ m_pmu->ad_in<7>().set(FUNC(macpb030_state::battery3_r));
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
m_screen->set_refresh_hz(60.15);