mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Fix 2 Visual Studio Warnings (#13112)
This commit is contained in:
parent
b9c52cc0cd
commit
967f15b72e
@ -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);
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user