summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pckeybrd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pckeybrd.cpp')
-rw-r--r--src/devices/machine/pckeybrd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/pckeybrd.cpp b/src/devices/machine/pckeybrd.cpp
index f7a049e2469..6fbee8a0173 100644
--- a/src/devices/machine/pckeybrd.cpp
+++ b/src/devices/machine/pckeybrd.cpp
@@ -208,7 +208,7 @@ const at_keyboard_device::extended_keyboard_code at_keyboard_device::m_extended_
/* print screen */
{
"\xe0\x12\xe0\x7c",
- 0, /* I don't know the break sequence */
+ nullptr, /* I don't know the break sequence */
},
/* right alt */
@@ -269,7 +269,7 @@ const at_keyboard_device::extended_keyboard_code at_keyboard_device::m_extended_
/* pause */
{
"\xe1\x14\x77\xe1\xf0\x14\xf0\x77",
- 0, /*?? I don't know the break sequence */
+ nullptr, /*?? I don't know the break sequence */
}
};
@@ -421,7 +421,7 @@ void pc_keyboard_device::standard_scancode_insert(int our_code, int pressed)
/* add codes for standard keys */
void at_keyboard_device::standard_scancode_insert(int our_code, int pressed)
{
- int scancode = our_code;
+ int scancode;
switch (m_scan_code_set)
{