Skip to content

Commit 9dc3cb9

Browse files
joevtdingusdev
authored andcommitted
machinefactory: Use print_all_info.
1 parent 621150f commit 9dc3cb9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

machines/machinefactory.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ string MachineFactory::machine_name_from_rom(char *rom_data, size_t rom_size) {
368368
int best_match_count = 0;
369369
string machine_name = "";
370370

371-
bool print_all_info = false;
371+
// set this to false if you want to print all info only when there's no ROM match
372+
bool print_all_info = true;
372373

373374
/* read firmware version from file */
374375
date = READ_DWORD_BE_A(&rom_data[8]);
@@ -532,7 +533,7 @@ string MachineFactory::machine_name_from_rom(char *rom_data, size_t rom_size) {
532533
} // for rom_info
533534
} // for match_pass
534535

535-
if (1 || print_all_info) {
536+
if (print_all_info) {
536537
if (is_nw) {
537538
LOG_F(INFO, "Info from ROM:");
538539
LOG_F(INFO, " ROM Date: %04x-%02x-%02x", date >> 16, (date >> 8) & 0xff, date & 0xff);

0 commit comments

Comments
 (0)