mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
ROMs over 2 GB no longer reported as negative size in XML
This commit is contained in:
parent
4714d165b3
commit
b763384114
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user