summaryrefslogtreecommitdiffstatshomepage
path: root/src/ldplayer
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 16:37:12 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 16:37:12 +0200
commita6bdefec8c76e9878b634119c56438a7673b0385 (patch)
tree9b435836a12773fe5b84cf1fd04866ecd9ecc2da /src/ldplayer
parent5f3d4fb33da4304e417a0e142e82e3d292646465 (diff)
more TRUE/FALSE cleanup (nw)
Diffstat (limited to 'src/ldplayer')
-rw-r--r--src/ldplayer/ldplayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ldplayer/ldplayer.cpp b/src/ldplayer/ldplayer.cpp
index eae0ea64891..879def09d6f 100644
--- a/src/ldplayer/ldplayer.cpp
+++ b/src/ldplayer/ldplayer.cpp
@@ -176,7 +176,7 @@ protected:
chd_file *ldplayer_state::get_disc()
{
- bool found = FALSE;
+ bool found = false;
// open a path to the ROMs and find the first CHD file
file_enumerator path(machine().options().media_path());
@@ -206,7 +206,7 @@ chd_file *ldplayer_state::get_disc()
if (machine().rom_load().set_disk_handle("laserdisc", fullpath.c_str()) == CHDERR_NONE)
{
m_filename.assign(dir->name);
- found = TRUE;
+ found = true;
break;
}
}
@@ -214,7 +214,7 @@ chd_file *ldplayer_state::get_disc()
}
// if we failed, pop a message and exit
- if (found == FALSE)
+ if (found == false)
throw emu_fatalerror("No valid image file found!\n");
return machine().rom_load().get_disk_handle("laserdisc");