summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/miscmenu.cpp
diff options
context:
space:
mode:
author dankan1890 <mewuidev2@gmail.com>2016-01-29 00:43:18 +0100
committer dankan1890 <mewuidev2@gmail.com>2016-01-29 00:43:18 +0100
commit361d32d37ffbe133760fcbfa314f60ccd4a8e8a8 (patch)
tree31813d7d743784862112bd647ee6da3b1361158b /src/emu/ui/miscmenu.cpp
parentcb1d7fe7fc942677c6aae668e283073f08a11199 (diff)
Small code cleanup:
- corealloc.h: added macro definition for global_alloc (nothrow) memory allocation. - textbuf.cpp / wavwrite.cpp: removed pointless cast. - debugcmd.cpp / luaengine.cpp / render.cpp: avoid strlen calls in a loop. - diimage.cpp: simplified "device_image_interface::set_image_filename" function. - miscmenu.cpp / selgame.h / video.cpp(h): replaced int with bool where applicable. - ui.cpp: removed unused code.
Diffstat (limited to 'src/emu/ui/miscmenu.cpp')
-rw-r--r--src/emu/ui/miscmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/ui/miscmenu.cpp b/src/emu/ui/miscmenu.cpp
index 1eaa9fe1366..9d96692a15a 100644
--- a/src/emu/ui/miscmenu.cpp
+++ b/src/emu/ui/miscmenu.cpp
@@ -434,9 +434,9 @@ void ui_menu_crosshair::populate()
file_enumerator path(machine().options().crosshair_path());
const osd_directory_entry *dir;
/* reset search flags */
- int using_default = false;
- int finished = false;
- int found = false;
+ bool using_default = false;
+ bool finished = false;
+ bool found = false;
/* if we are using the default, then we just need to find the first in the list */
if (*(settings.name) == 0)