summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/inputmap.h
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-01-27 20:13:11 +0100
committer hap <happppp@users.noreply.github.com>2021-01-27 20:13:25 +0100
commit0cd6c079c935152f6ce84351648311ce74f4fb6e (patch)
tree02599cea421ebdb87567dd5d11ce1a395f239c2d /src/frontend/mame/ui/inputmap.h
parent7812e9ebb67c314d7cfb616c3f2cde4b916b4668 (diff)
ui/inputmap: prevent race condition between ui_input().pressed() and poll()
Diffstat (limited to 'src/frontend/mame/ui/inputmap.h')
-rw-r--r--src/frontend/mame/ui/inputmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/inputmap.h b/src/frontend/mame/ui/inputmap.h
index bdc1449c89b..5ed8c057c96 100644
--- a/src/frontend/mame/ui/inputmap.h
+++ b/src/frontend/mame/ui/inputmap.h
@@ -75,6 +75,7 @@ private:
input_item_data *erroritem;
input_item_data *lastitem;
bool record_next;
+ osd_ticks_t modified_ticks;
input_seq starting_seq;
virtual void custom_render(void *selectedref, float top, float bottom, float x1, float y1, float x2, float y2) override;