diff options
Diffstat (limited to 'docs/release/src/osd/winui/history.cpp')
-rw-r--r-- | docs/release/src/osd/winui/history.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/release/src/osd/winui/history.cpp b/docs/release/src/osd/winui/history.cpp index 298821e0d72..0d482bf4914 100644 --- a/docs/release/src/osd/winui/history.cpp +++ b/docs/release/src/osd/winui/history.cpp @@ -465,7 +465,7 @@ std::string load_driver_geninfo(const game_driver *drv, int drvindex) { for (const rom_entry *rom = rom_first_file(region); rom; rom = rom_next_file(rom)) { - util::hash_collection hashes(ROM_GETHASHDATA(rom)); + util::hash_collection hashes(rom->hashdata()); if (g != -1) { @@ -477,7 +477,7 @@ std::string load_driver_geninfo(const game_driver *drv, int drvindex) { for (const rom_entry *prom = rom_first_file(pregion); prom; prom = rom_next_file(prom)) { - util::hash_collection phashes(ROM_GETHASHDATA(prom)); + util::hash_collection phashes(prom->hashdata()); if (hashes == phashes) break; @@ -490,7 +490,7 @@ std::string load_driver_geninfo(const game_driver *drv, int drvindex) buffer.append(name); snprintf(name, WINUI_ARRAY_LENGTH(name), "%09d \t", rom_file_size(rom)); buffer.append(name); - snprintf(name, WINUI_ARRAY_LENGTH(name), "%-10s", ROMREGION_GETTAG(region)); + snprintf(name, WINUI_ARRAY_LENGTH(name), "%-10s", region->name().c_str()); buffer.append(name).append("\n"); } } @@ -541,7 +541,7 @@ std::string load_driver_geninfo(const game_driver *drv, int drvindex) } } - std::string temp = core_filename_extract_base(drv->type.source(), false); + string temp = string(core_filename_extract_base(drv->type.source(), false)); char source_file[temp.size()+1], tmp[2048]; strcpy(source_file, temp.c_str()); snprintf(tmp, WINUI_ARRAY_LENGTH(tmp), "\nGENERAL SOURCE INFO: %s\n", temp.c_str()); |