Skip to content

Commit 967f15b

Browse files
authored
Fix 2 Visual Studio Warnings (#13112)
1 parent b9c52cc commit 967f15b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mame/moog/source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ float source_state::get_keyboard_v() const
408408

409409
// *** Convert pressed key to a voltage.
410410

411-
static constexpr const float KEYBOARD_VREF = 8.24; // From schematic.
411+
static constexpr const float KEYBOARD_VREF = 8.24f; // From schematic.
412412
static constexpr const float RKEY = RES_R(100);
413413
static constexpr const float R74 = RES_R(150);
414414
static constexpr const float R76 = RES_K(220);

src/mame/nec/pc88va.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ void pc88va_state::sys_port5_w(u8 data)
256256

257257
u8 pc88va_state::sys_port5_r()
258258
{
259-
return m_rstmd | 8;
259+
return (m_rstmd ? 1 : 0) | 8;
260260
}
261261

262262
uint8_t pc88va_state::hdd_status_r()

0 commit comments

Comments
 (0)