mirror of
https://github.com/holub/mame
synced 2025-06-27 06:39:03 +03:00
Merge pull request #1920 from ajrhacker/rom_size
ROMs over 2 GB no longer reported as negative size in XML
This commit is contained in:
commit
2b3a480df4
@ -603,7 +603,7 @@ void info_xml_creator::output_rom(device_t &device)
|
|||||||
if (bios_name[0] != 0)
|
if (bios_name[0] != 0)
|
||||||
util::stream_format(output, " bios=\"%s\"", util::xml::normalize_string(bios_name));
|
util::stream_format(output, " bios=\"%s\"", util::xml::normalize_string(bios_name));
|
||||||
if (!is_disk)
|
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
|
// dump checksum information only if there is a known dump
|
||||||
if (!hashes.flag(util::hash_collection::FLAG_NO_DUMP))
|
if (!hashes.flag(util::hash_collection::FLAG_NO_DUMP))
|
||||||
|
Loading…
Reference in New Issue
Block a user