diff options
author | Vas Crabb <vas@vastheman.com> | 2021-09-26 14:15:42 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2021-09-26 14:15:42 +1000 |
commit | b225f4db4a42978ec6d3384716d340cc204c3a56 (patch) | |
tree | 925c3a934e542eef41cff9ec3d9a2cd6634a176b /src/devices/machine | |
parent | 3066057077c9a1e500f885cc0b1c6bd5dd523b6d (diff) |
srcclean in preparation for MAME 0.235, and two small adjustments.
* Reduce repeated directory walking in cleansrc target (substantially
improves speed of building the target on Windows).
* Disable a validity check using an MSVC language extension when using
clang in MSVC ABI mode.
Diffstat (limited to 'src/devices/machine')
-rw-r--r-- | src/devices/machine/8042kbdc.h | 2 | ||||
-rw-r--r-- | src/devices/machine/smpc.cpp | 4 | ||||
-rw-r--r-- | src/devices/machine/stvcd.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/8042kbdc.h b/src/devices/machine/8042kbdc.h index affee6f6c7a..d28c17c9cf8 100644 --- a/src/devices/machine/8042kbdc.h +++ b/src/devices/machine/8042kbdc.h @@ -114,7 +114,7 @@ private: optional_ioport m_mousebtn_port; kbdc8042_type_t m_keybtype; - kbdc8042_interrupt_type_t m_interrupttype; + kbdc8042_interrupt_type_t m_interrupttype; devcb_write_line m_system_reset_cb; devcb_write_line m_gate_a20_cb; diff --git a/src/devices/machine/smpc.cpp b/src/devices/machine/smpc.cpp index 2a0bb30c311..4f2e9ca8295 100644 --- a/src/devices/machine/smpc.cpp +++ b/src/devices/machine/smpc.cpp @@ -598,12 +598,12 @@ void smpc_hle_device::device_timer(emu_timer &timer, device_timer_id id, int par sf_ack(true); //set hand-shake flag return; - case 0x0a: // NETLINKON + case 0x0a: // NETLINKON // TODO: understand where NetLink actually lies and implement delegation accordingly // (is it really an SH1 device like suggested by the space access or it overlays on CS2 bus?) popmessage("%s: NetLink enabled", this->tag()); [[fallthrough]]; - case 0x0b: // NETLINKOFF + case 0x0b: // NETLINKOFF break; case 0x0d: // SYSRES diff --git a/src/devices/machine/stvcd.cpp b/src/devices/machine/stvcd.cpp index 7b84c069a85..9e62335f448 100644 --- a/src/devices/machine/stvcd.cpp +++ b/src/devices/machine/stvcd.cpp @@ -823,7 +823,7 @@ void stvcd_device::cmd_play_disc() // FIXME: verify implementation with Galaxy Fight // it calls 10ff ffff ffff ffff, but then it follows up with // 0x04->0x02->0x06->0x11->0x04->0x02->0x06 command sequence - // (and current implementation nukes start/end FAD addresses at 0x04). + // (and current implementation nukes start/end FAD addresses at 0x04). // I'm sure that this doesn't work like this, but there could // be countless possible combinations ... if(fadstoplay == 0) @@ -1730,7 +1730,7 @@ void stvcd_device::cmd_get_target_file_info() // (iso9660 parsing doesn't read beyond the first sector) if (curdir[temp].firstfad == 0 || curdir[temp].length == 0) throw emu_fatalerror("File ID not found in XFERTYPE_FILEINFO_1"); -// printf("%08x %08x\n",curdir[temp].firstfad,curdir[temp].length); +// printf("%08x %08x\n",curdir[temp].firstfad,curdir[temp].length); // first 4 bytes = FAD finfbuf[0] = (curdir[temp].firstfad>>24)&0xff; finfbuf[1] = (curdir[temp].firstfad>>16)&0xff; |