public audit_record(string name, media_type type) { m_next = null; m_type = type; m_status = audit_status.STATUS_ERROR; m_substatus = audit_substatus.SUBSTATUS_ERROR; m_name = name; m_explength = 0; m_length = 0; m_shared_device = null; }
public audit_record(string name, media_type type) { m_next = null; m_type = type; m_status = audit_status.UNVERIFIED; m_substatus = audit_substatus.UNVERIFIED; m_name = name; m_explength = 0; m_length = 0; m_exphashes = new util.hash_collection(); m_hashes = new util.hash_collection(); m_shared_device = null; }
device_type m_shared_device; /* device that shares the rom */ //std::add_pointer_t<device_type> m_shared_device; // device that shares the ROM // construction/destruction //------------------------------------------------- // audit_record - constructor //------------------------------------------------- public audit_record(Pointer <rom_entry> media, media_type type) { m_next = null; m_type = type; m_status = audit_status.UNVERIFIED; m_substatus = audit_substatus.UNVERIFIED; m_name = media.op.name(); m_explength = rom_file_size(media); m_length = 0; m_exphashes = new util.hash_collection(media.op.hashdata()); m_hashes = new util.hash_collection(); m_shared_device = null; }
device_t m_shared_device; /* device that shares the rom */ // construction/destruction //------------------------------------------------- // audit_record - constructor //------------------------------------------------- public audit_record(ListPointer <rom_entry> media, media_type type) { m_next = null; m_type = type; m_status = audit_status.STATUS_ERROR; m_substatus = audit_substatus.SUBSTATUS_ERROR; m_name = romload_global.ROM_GETNAME(media[0]); m_explength = romload_global.rom_file_size(media); m_length = 0; m_shared_device = null; m_exphashes.from_internal_string(romload_global.ROM_GETHASHDATA(media[0])); }
// setters public void set_status(audit_status status, audit_substatus substatus) { m_status = status; m_substatus = substatus; }