summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/filemngr.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-07-18 17:41:22 -0400
committer Nathan Woods <npwoods@mess.org>2016-07-18 17:41:22 -0400
commitf4774fc77615f5fdde72ea432f4fda07bf65c4ea (patch)
tree11200b298eca2eaffa22e40ea1073cfa7e963a81 /src/frontend/mame/ui/filemngr.cpp
parent9e1b8814fbfa8b81c32629647a61f73bca6366fe (diff)
Miscellaneous cleanups to imgcntrl.[cpp|h] and calling code
Diffstat (limited to 'src/frontend/mame/ui/filemngr.cpp')
-rw-r--r--src/frontend/mame/ui/filemngr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/filemngr.cpp b/src/frontend/mame/ui/filemngr.cpp
index 8883e4beb9f..38e7faa0d78 100644
--- a/src/frontend/mame/ui/filemngr.cpp
+++ b/src/frontend/mame/ui/filemngr.cpp
@@ -184,11 +184,11 @@ void menu_file_manager::handle()
floppy_image_device *floppy_device = dynamic_cast<floppy_image_device *>(selected_device);
if (floppy_device != nullptr)
{
- menu::stack_push<menu_control_floppy_image>(ui(), container(), floppy_device);
+ menu::stack_push<menu_control_floppy_image>(ui(), container(), *floppy_device);
}
else
{
- menu::stack_push<menu_control_device_image>(ui(), container(), selected_device);
+ menu::stack_push<menu_control_device_image>(ui(), container(), *selected_device);
}
// reset the existing menu
reset(reset_options::REMEMBER_POSITION);