summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/bfm_ad5.cpp
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2015-11-09 12:23:29 +0100
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2015-11-09 12:23:29 +0100
commit7b5119e1667c1a0844c268169e74c69c5a40f5c3 (patch)
tree3f26277c0f7df0ab4533187f4bcdb560c8e663bd /src/mame/drivers/bfm_ad5.cpp
parent33f410f0d90668258c34e8ce4fd92b84d1cbd177 (diff)
nw, more PVS-Studio fixes
Diffstat (limited to 'src/mame/drivers/bfm_ad5.cpp')
-rw-r--r--src/mame/drivers/bfm_ad5.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/mame/drivers/bfm_ad5.cpp b/src/mame/drivers/bfm_ad5.cpp
index cf4f4501c0f..be650aba75b 100644
--- a/src/mame/drivers/bfm_ad5.cpp
+++ b/src/mame/drivers/bfm_ad5.cpp
@@ -38,17 +38,25 @@ DRIVER_INIT_MEMBER(adder5_state,ad5)
// find it.
int found = find_project_string(machine(), 3, 0);
if (!found)
+ {
printf("Normal rom pair string not found, checking mismatched / missing rom string\n");
+ }
// help identify roms where one of the pair is missing too
if (!found)
{
- found = find_project_string(machine(), 3, 1);
- found = find_project_string(machine(), 3, 2);
+ found = find_project_string(machine(), 3, 1);
}
- if (!found)
+ if (!found)
+ {
+ found = find_project_string(machine(), 3, 2);
+ }
+
+ if (!found)
+ {
printf("No suitable string found\n");
+ }
}