Fix 2 Visual Studio Warnings (#13112)

This commit is contained in:
Meerkov 2024-12-26 06:28:47 -08:00 committed by GitHub
parent b9c52cc0cd
commit 967f15b72e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -408,7 +408,7 @@ float source_state::get_keyboard_v() const
// *** Convert pressed key to a voltage.
static constexpr const float KEYBOARD_VREF = 8.24; // From schematic.
static constexpr const float KEYBOARD_VREF = 8.24f; // From schematic.
static constexpr const float RKEY = RES_R(100);
static constexpr const float R74 = RES_R(150);
static constexpr const float R76 = RES_K(220);

View File

@ -256,7 +256,7 @@ void pc88va_state::sys_port5_w(u8 data)
u8 pc88va_state::sys_port5_r()
{
return m_rstmd | 8;
return (m_rstmd ? 1 : 0) | 8;
}
uint8_t pc88va_state::hdd_status_r()