diff options
author | hap <happppp@users.noreply.github.com> | 2021-05-12 19:52:52 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2021-05-12 19:53:03 +0200 |
commit | a6831c49ebe3222230eb5d617c3acb701c1cfbd0 (patch) | |
tree | 14ca04ab2ee9fea6447da4bb8b1d2a59360b45fd | |
parent | 1399a52a2bd67c05f383c4b6abd1399c831c975e (diff) |
nb1412m2: don't return a bool for uint8
-rw-r--r-- | src/devices/cpu/m6800/m6801.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/cop01.cpp | 1 | ||||
-rw-r--r-- | src/mame/drivers/fidel_elite.cpp | 2 | ||||
-rw-r--r-- | src/mame/machine/nb1412m2.cpp | 4 |
4 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/cpu/m6800/m6801.cpp b/src/devices/cpu/m6800/m6801.cpp index aaf27be8480..bc6c3a53264 100644 --- a/src/devices/cpu/m6800/m6801.cpp +++ b/src/devices/cpu/m6800/m6801.cpp @@ -1184,7 +1184,7 @@ void hd6301x_cpu_device::write_port2() } /* - if change_pc() direccted these areas ,Call hd63701_trap_pc(). + if change_pc() directed these areas ,Call hd63701_trap_pc(). 'mode' is selected by the sense of p2.0,p2.1,and p2.3 at reset timing. mode 0,1,2,4,6 : $0000-$001f mode 5 : $0000-$001f,$0200-$efff diff --git a/src/mame/drivers/cop01.cpp b/src/mame/drivers/cop01.cpp index b56be48d5c8..6995f811c3b 100644 --- a/src/mame/drivers/cop01.cpp +++ b/src/mame/drivers/cop01.cpp @@ -458,7 +458,6 @@ void cop01_state::cop01(machine_config &config) m_audiocpu->set_addrmap(AS_PROGRAM, &cop01_state::sound_map); m_audiocpu->set_addrmap(AS_IO, &cop01_state::audio_io_map); - /* video hardware */ screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); screen.set_refresh_hz(60); diff --git a/src/mame/drivers/fidel_elite.cpp b/src/mame/drivers/fidel_elite.cpp index f6af79e0aa0..9af4e2e664b 100644 --- a/src/mame/drivers/fidel_elite.cpp +++ b/src/mame/drivers/fidel_elite.cpp @@ -18,7 +18,7 @@ BTANB: Elite A/S Challenger (EAS) --------------------------------- -This came out in 1982. 2 program updates were released in 1983 and 1984, +This came out in 1983. 2 program updates were released in 1983 and 1984, named Budapest and Glasgow, places where Fidelity competed in chess computer matches (they won it in 1983). A/S stands for auto sensory, it's the 1st Fidelity board with magnet sensors. The magnetic chessboard was licensed from diff --git a/src/mame/machine/nb1412m2.cpp b/src/mame/machine/nb1412m2.cpp index 362f80eb959..75d396e2c16 100644 --- a/src/mame/machine/nb1412m2.cpp +++ b/src/mame/machine/nb1412m2.cpp @@ -281,7 +281,7 @@ uint8_t nb1412m2_device::rom_decrypt_r() // Mighty Guy specifics uint8_t nb1412m2_device::timer_r() { - return m_timer_reg == true; + return (m_timer_reg) ? 1 : 0; } void nb1412m2_device::timer_w(uint8_t data) @@ -319,7 +319,7 @@ void nb1412m2_device::dac_control_w(uint8_t data) { if (data == 0) { - // Mighty Guy is uses this to stop psycho gun sound. + // Mighty Guy uses this to stop psycho gun sound. m_dac_playback = false; } } |