diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2017-01-04 16:37:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-04 16:37:27 +0100 |
commit | 2b3a480df4287b158e05e9677f657dfd3884b93b (patch) | |
tree | 4afb31935a4834303448a43040ba71a4beb1f28c /src | |
parent | 7119f5ba7363e291183c95efcd91bdbf74f6ae93 (diff) | |
parent | b7633841144c4fbafd7325af739ff3b96780f42f (diff) |
Merge pull request #1920 from ajrhacker/rom_size
ROMs over 2 GB no longer reported as negative size in XML
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/mame/info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/info.cpp b/src/frontend/mame/info.cpp index 0889dd7bd39..1479978ceb9 100644 --- a/src/frontend/mame/info.cpp +++ b/src/frontend/mame/info.cpp @@ -603,7 +603,7 @@ void info_xml_creator::output_rom(device_t &device) if (bios_name[0] != 0) util::stream_format(output, " bios=\"%s\"", util::xml::normalize_string(bios_name)); if (!is_disk) - util::stream_format(output, " size=\"%d\"", rom_file_size(rom)); + util::stream_format(output, " size=\"%u\"", rom_file_size(rom)); // dump checksum information only if there is a known dump if (!hashes.flag(util::hash_collection::FLAG_NO_DUMP)) |