summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/input/input_rawinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/input/input_rawinput.cpp')
-rw-r--r--src/osd/modules/input/input_rawinput.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osd/modules/input/input_rawinput.cpp b/src/osd/modules/input/input_rawinput.cpp
index 739ae4496f3..1bd0cd9fe28 100644
--- a/src/osd/modules/input/input_rawinput.cpp
+++ b/src/osd/modules/input/input_rawinput.cpp
@@ -523,7 +523,7 @@ protected:
{
// Only handle raw input data
if (!input_enabled() || eventid != INPUT_EVENT_RAWINPUT)
- return FALSE;
+ return false;
HRAWINPUT rawinputdevice = *static_cast<HRAWINPUT*>(eventdata);
@@ -535,11 +535,11 @@ protected:
// ignore if not enabled
if (!input_enabled())
- return FALSE;
+ return false;
// determine the size of databuffer we need
if ((*get_rawinput_data)(rawinputdevice, RID_INPUT, nullptr, &size, sizeof(RAWINPUTHEADER)) != 0)
- return FALSE;
+ return false;
// if necessary, allocate a temporary buffer and fetch the data
if (size > sizeof(small_buffer))
@@ -547,7 +547,7 @@ protected:
larger_buffer = std::make_unique<BYTE[]>(size);
data = larger_buffer.get();
if (data == nullptr)
- return FALSE;
+ return false;
}
// fetch the data and process the appropriate message types
@@ -567,7 +567,7 @@ protected:
if (input->header.hDevice == devinfo->device_handle())
{
devinfo->queue_events(input, 1);
- result = TRUE;
+ result = true;
}
}
}