summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/barcode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/barcode.cpp')
-rw-r--r--src/frontend/mame/ui/barcode.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frontend/mame/ui/barcode.cpp b/src/frontend/mame/ui/barcode.cpp
index 1c62f42a92b..7945e70fd07 100644
--- a/src/frontend/mame/ui/barcode.cpp
+++ b/src/frontend/mame/ui/barcode.cpp
@@ -50,7 +50,7 @@ menu_barcode_reader::~menu_barcode_reader()
// populate - populates the barcode input menu
//-------------------------------------------------
-void menu_barcode_reader::populate()
+void menu_barcode_reader::populate(float &customtop, float &custombottom)
{
if (current_device())
{
@@ -89,8 +89,7 @@ void menu_barcode_reader::populate()
void menu_barcode_reader::handle()
{
// rebuild the menu (so to update the selected device, if the user has pressed L or R)
- reset(reset_options::REMEMBER_POSITION);
- populate();
+ repopulate(reset_options::REMEMBER_POSITION);
// process the menu
const event *event = process(PROCESS_LR_REPEAT);