<trclass="memdesc:aa9fa987c4bd8ced5523cd65f3408c685"><tdclass="mdescLeft"> </td><tdclass="mdescRight">ROM database save type enumeration. <ahref="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685">More...</a><br/></td></tr>
<trclass="memdesc:a3bd14048ebc4ca94184a04094d477fb8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">ROM homebrew save type enumeration. <ahref="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8">More...</a><br/></td></tr>
<trclass="memdesc:a7c6debc1bf7d7067342309be5d63e74c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">ROM media type enumeration. <ahref="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74c">More...</a><br/></td></tr>
<trclass="memdesc:a64d030402f123f66f3c8360650107545"><tdclass="mdescLeft"> </td><tdclass="mdescRight">ROM market region & language type enumeration. <ahref="rom__database_8h.html#a64d030402f123f66f3c8360650107545">More...</a><br/></td></tr>
<trclass="memdesc:a7a380f5fac523be56bad42cef02d0a3d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reads the N64 ROM header from a file. <ahref="rom__database_8h.html#a7a380f5fac523be56bad42cef02d0a3d">More...</a><br/></td></tr>
<dlclass="section note"><dt>Note</dt><dd>This information is derived from the ROM header. i.e. 0x3B = Media Type 0x3C and 0x3D = Unique Identifier 0x3E = Destination Market </dd></dl>
The ROM file metadata. <dlclass="section see"><dt>See also</dt><dd><aclass="el"href="rom__database_8h.html#structrom__metadata__t"title="ROM Metadata Structure.">rom_metadata_t</a>. </dd></dl>
<dlclass="section note"><dt>Note</dt><dd>These values are independent of flashcart / OS but by default align to SC64. </dd></dl>
<tableclass="fieldtable">
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685a07ec54dd69369e0ebb3027bc6a69f48e"name="aa9fa987c4bd8ced5523cd65f3408c685a07ec54dd69369e0ebb3027bc6a69f48e"></a>DB_SAVE_TYPE_NONE </td><tdclass="fielddoc"><p>The ROM has no save type. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685a916ca00d1b321577c68ed8f80b9e3138"name="aa9fa987c4bd8ced5523cd65f3408c685a916ca00d1b321577c68ed8f80b9e3138"></a>DB_SAVE_TYPE_EEPROM_4K </td><tdclass="fielddoc"><p>The ROM uses EEPROM 4K saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685a9c484e229a227629541c43fafa973619"name="aa9fa987c4bd8ced5523cd65f3408c685a9c484e229a227629541c43fafa973619"></a>DB_SAVE_TYPE_EEPROM_16K </td><tdclass="fielddoc"><p>The ROM uses EEPROM 16K saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685acce0b10714a290fa6c183e9cc647b253"name="aa9fa987c4bd8ced5523cd65f3408c685acce0b10714a290fa6c183e9cc647b253"></a>DB_SAVE_TYPE_SRAM </td><tdclass="fielddoc"><p>The ROM uses SRAM saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685ac159a2c35449b4e55f40bba06d965009"name="aa9fa987c4bd8ced5523cd65f3408c685ac159a2c35449b4e55f40bba06d965009"></a>DB_SAVE_TYPE_SRAM_BANKED </td><tdclass="fielddoc"><p>The ROM uses SRAM Banked saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685ab9da468ef68af55b24c78543741d1017"name="aa9fa987c4bd8ced5523cd65f3408c685ab9da468ef68af55b24c78543741d1017"></a>DB_SAVE_TYPE_SRAM_128K </td><tdclass="fielddoc"><p>The ROM uses SRAM 128K saves. </p>
<dlclass="section note"><dt>Note</dt><dd>This is not supported by all flashcarts. </dd></dl>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685a38243ddc6e5d5804891e485629645707"name="aa9fa987c4bd8ced5523cd65f3408c685a38243ddc6e5d5804891e485629645707"></a>DB_SAVE_TYPE_FLASHRAM </td><tdclass="fielddoc"><p>The ROM uses FLASHRAM saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685a218b71b755fa244349266a89270c5eb8"name="aa9fa987c4bd8ced5523cd65f3408c685a218b71b755fa244349266a89270c5eb8"></a>DB_SAVE_TYPE_CPAK </td><tdclass="fielddoc"><p>The ROM uses CPAK saves. </p>
<dlclass="section note"><dt>Note</dt><dd>This must be handled by user code. </dd></dl>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685a9ec98db1226c93752c8879e0a8ea429e"name="aa9fa987c4bd8ced5523cd65f3408c685a9ec98db1226c93752c8879e0a8ea429e"></a>DB_SAVE_TYPE_DD </td><tdclass="fielddoc"><p>The ROM uses Disk Drive saves. </p>
<dlclass="section note"><dt>Note</dt><dd>This is not supported by all flashcarts. </dd></dl>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685a4b29a4117a90e53975d74e7f0cf1feb3"name="aa9fa987c4bd8ced5523cd65f3408c685a4b29a4117a90e53975d74e7f0cf1feb3"></a>DB_SAVE_TYPE_DD_CONVERSION </td><tdclass="fielddoc"><p>The ROM uses Disk Drive conversion saves. </p>
<dlclass="section note"><dt>Note</dt><dd>This must be handled by user code. </dd></dl>
</td></tr>
<tr><tdclass="fieldname"><aid="aa9fa987c4bd8ced5523cd65f3408c685a8dfe4e8e943ac053b89f8f9cf2aade86"name="aa9fa987c4bd8ced5523cd65f3408c685a8dfe4e8e943ac053b89f8f9cf2aade86"></a>DB_SAVE_TYPE_INVALID </td><tdclass="fielddoc"><p>The ROM uses a save type that was not recognised. </p>
<p>ROM system memory requirements enumeration. </p>
<tableclass="fieldtable">
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="ae15b00a2fe5f49a9791a351b91d97714ae7e681827e7e5d1260923b18534ca2d0"name="ae15b00a2fe5f49a9791a351b91d97714ae7e681827e7e5d1260923b18534ca2d0"></a>DB_MEMORY_EXPANSION_NONE </td><tdclass="fielddoc"><p>The ROM is happy with 4MB of memory. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ae15b00a2fe5f49a9791a351b91d97714a073891ae34cfb1d6d40200d7b0236e46"name="ae15b00a2fe5f49a9791a351b91d97714a073891ae34cfb1d6d40200d7b0236e46"></a>DB_MEMORY_EXPANSION_REQUIRED </td><tdclass="fielddoc"><p>The ROM requires 8MB of memory. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ae15b00a2fe5f49a9791a351b91d97714a88afc3f995da808c3772b2c6d92eeb2d"name="ae15b00a2fe5f49a9791a351b91d97714a88afc3f995da808c3772b2c6d92eeb2d"></a>DB_MEMORY_EXPANSION_RECOMMENDED </td><tdclass="fielddoc"><p>The ROM recommends 8MB of memory. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ae15b00a2fe5f49a9791a351b91d97714ac7d2a6db839e168ec13c9e07c6650630"name="ae15b00a2fe5f49a9791a351b91d97714ac7d2a6db839e168ec13c9e07c6650630"></a>DB_MEMORY_EXPANSION_SUGGESTED </td><tdclass="fielddoc"><p>The ROM suggests 8MB of memory. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ae15b00a2fe5f49a9791a351b91d97714a6ef02e89e4750185a5dfb3684e982bdf"name="ae15b00a2fe5f49a9791a351b91d97714a6ef02e89e4750185a5dfb3684e982bdf"></a>DB_MEMORY_EXPANSION_FAULTY </td><tdclass="fielddoc"><p>The ROM is faulty when using 8MB of memory. </p>
<dlclass="section note"><dt>Note</dt><dd>These align to the Krikzz ED64 save types and are generally accepted by all emulators. </dd></dl>
<tableclass="fieldtable">
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a3bd14048ebc4ca94184a04094d477fb8a19b2659e1029cc57e3316e7ddb7b3098"name="a3bd14048ebc4ca94184a04094d477fb8a19b2659e1029cc57e3316e7ddb7b3098"></a>HB_SAVE_TYPE_NONE </td><tdclass="fielddoc"><p>The ROM has no save type. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a3bd14048ebc4ca94184a04094d477fb8aa924ea1df0fafd2abd108b11881663fc"name="a3bd14048ebc4ca94184a04094d477fb8aa924ea1df0fafd2abd108b11881663fc"></a>HB_SAVE_TYPE_EEPROM_4K </td><tdclass="fielddoc"><p>The ROM uses EEPROM 4K saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a3bd14048ebc4ca94184a04094d477fb8a10d83c5d10accab32697ee25aa722de0"name="a3bd14048ebc4ca94184a04094d477fb8a10d83c5d10accab32697ee25aa722de0"></a>HB_SAVE_TYPE_EEPROM_16K </td><tdclass="fielddoc"><p>The ROM uses EEPROM 16K saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a3bd14048ebc4ca94184a04094d477fb8af8faee9773d12f24b30df0a99d5e8307"name="a3bd14048ebc4ca94184a04094d477fb8af8faee9773d12f24b30df0a99d5e8307"></a>HB_SAVE_TYPE_SRAM </td><tdclass="fielddoc"><p>The ROM uses SRAM saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a3bd14048ebc4ca94184a04094d477fb8a89495d0cc0553ec93813bdc8cb7d6594"name="a3bd14048ebc4ca94184a04094d477fb8a89495d0cc0553ec93813bdc8cb7d6594"></a>HB_SAVE_TYPE_SRAM_BANKED </td><tdclass="fielddoc"><p>The ROM uses SRAM Banked saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a3bd14048ebc4ca94184a04094d477fb8a3e8acd0c73d718a43ea1f7dd9c091da0"name="a3bd14048ebc4ca94184a04094d477fb8a3e8acd0c73d718a43ea1f7dd9c091da0"></a>HB_SAVE_TYPE_FLASHRAM </td><tdclass="fielddoc"><p>The ROM uses FLASHRAM saves. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a3bd14048ebc4ca94184a04094d477fb8a03bbf34c332244ff38bd4c3202a366c4"name="a3bd14048ebc4ca94184a04094d477fb8a03bbf34c332244ff38bd4c3202a366c4"></a>HB_SAVE_TYPE_SRAM_128K </td><tdclass="fielddoc"><p>The ROM uses SRAM 128K saves. </p>
<dlclass="section note"><dt>Note</dt><dd>This is not supported by all flashcarts. </dd></dl>
<dlclass="section note"><dt>Note</dt><dd>this is a hack used for checking ROM's against expected Big Endian when reading from the file system. </dd></dl>
<tr><tdclass="fieldname"><aid="ad10f4f1e1c8138c9715e87d9113c85a7ac8e75ac53052e21af772a8f35b69ecf2"name="ad10f4f1e1c8138c9715e87d9113c85a7ac8e75ac53052e21af772a8f35b69ecf2"></a>ROM_MID_BIG_ENDIAN </td><tdclass="fielddoc"><p>Mid Big Endian ROM. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ad10f4f1e1c8138c9715e87d9113c85a7abcaf9dc73653de13df226b79c0be87aa"name="ad10f4f1e1c8138c9715e87d9113c85a7abcaf9dc73653de13df226b79c0be87aa"></a>ROM_MID_LITTLE_ENDIAN </td><tdclass="fielddoc"><p>Mid Little Endian ROM. </p>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a7c6debc1bf7d7067342309be5d63e74ca1bd823fc8b9c795053d238a96c6f5524"name="a7c6debc1bf7d7067342309be5d63e74ca1bd823fc8b9c795053d238a96c6f5524"></a>N64_CART </td><tdclass="fielddoc"><p>Is a stand alone Cartridge program. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a7c6debc1bf7d7067342309be5d63e74ca4892177cc838193ba4b53d904d91af25"name="a7c6debc1bf7d7067342309be5d63e74ca4892177cc838193ba4b53d904d91af25"></a>N64_DISK </td><tdclass="fielddoc"><p>Is a stand alone Disk Drive program. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a7c6debc1bf7d7067342309be5d63e74ca45d9f8446e39a1fa4220d57448e609df"name="a7c6debc1bf7d7067342309be5d63e74ca45d9f8446e39a1fa4220d57448e609df"></a>N64_CART_EXPANDABLE </td><tdclass="fielddoc"><p>Is a Cartridge program that could use an extra Disk Drive program to expand its capabilities. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a7c6debc1bf7d7067342309be5d63e74ca0b98dff1eb797c2684050e4d430d8722"name="a7c6debc1bf7d7067342309be5d63e74ca0b98dff1eb797c2684050e4d430d8722"></a>N64_DISK_EXPANDABLE </td><tdclass="fielddoc"><p>Is a Disk Drive program that could use an extra Cartridge program to expand its capabilities. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a7c6debc1bf7d7067342309be5d63e74cae05d1f3888937647e60af840097f32c0"name="a7c6debc1bf7d7067342309be5d63e74cae05d1f3888937647e60af840097f32c0"></a>N64_ALECK64 </td><tdclass="fielddoc"><p>Is an Aleck64 program. </p>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a87b3cff825fef81ced068588be03ec7b"name="a64d030402f123f66f3c8360650107545a87b3cff825fef81ced068588be03ec7b"></a>MARKET_JAPANESE_MULTI </td><tdclass="fielddoc"><p>The ROM is designed for Japanese and "English" languages. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545aab39c57cfd0fb43a7af9bd2c682c62ce"name="a64d030402f123f66f3c8360650107545aab39c57cfd0fb43a7af9bd2c682c62ce"></a>MARKET_BRAZILIAN </td><tdclass="fielddoc"><p>The ROM is designed for Brazil (Portuguese) language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545ad224762fea1a531aa708be42f866408b"name="a64d030402f123f66f3c8360650107545ad224762fea1a531aa708be42f866408b"></a>MARKET_CHINESE </td><tdclass="fielddoc"><p>The ROM is designed for Chinese language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a705dbb6f23b076d51a7ddd96a262cfa4"name="a64d030402f123f66f3c8360650107545a705dbb6f23b076d51a7ddd96a262cfa4"></a>MARKET_GERMAN </td><tdclass="fielddoc"><p>The ROM is designed for German language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a7f85f1e3498bf9699e243b081cdbfe6b"name="a64d030402f123f66f3c8360650107545a7f85f1e3498bf9699e243b081cdbfe6b"></a>MARKET_NORTH_AMERICA </td><tdclass="fielddoc"><p>The ROM is designed for North American "English" language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545af60c0d80eaa8026ff384f2a5a78dd1c8"name="a64d030402f123f66f3c8360650107545af60c0d80eaa8026ff384f2a5a78dd1c8"></a>MARKET_FRENCH </td><tdclass="fielddoc"><p>The ROM is designed for French language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545ab0a10418b57442d5759df02f5a0f45e8"name="a64d030402f123f66f3c8360650107545ab0a10418b57442d5759df02f5a0f45e8"></a>MARKET_GATEWAY64_NTSC </td><tdclass="fielddoc"><p>The ROM is designed for a NTSC Gateway 64. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545ab1d8ed6dbfef6c7b95126a44206068a6"name="a64d030402f123f66f3c8360650107545ab1d8ed6dbfef6c7b95126a44206068a6"></a>MARKET_DUTCH </td><tdclass="fielddoc"><p>The ROM is designed for Dutch language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a6500a23f7efea1dd76a82407410bcdf8"name="a64d030402f123f66f3c8360650107545a6500a23f7efea1dd76a82407410bcdf8"></a>MARKET_ITALIAN </td><tdclass="fielddoc"><p>The ROM is designed for Italian language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a785c98321d0422b477041f7ad95ef506"name="a64d030402f123f66f3c8360650107545a785c98321d0422b477041f7ad95ef506"></a>MARKET_JAPANESE </td><tdclass="fielddoc"><p>The ROM is designed for Japanese language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a7761799f68396739e9c25f18c4b70e92"name="a64d030402f123f66f3c8360650107545a7761799f68396739e9c25f18c4b70e92"></a>MARKET_KOREAN </td><tdclass="fielddoc"><p>The ROM is designed for Korean language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545aaba43978734c0351513b95f58e96aac4"name="a64d030402f123f66f3c8360650107545aaba43978734c0351513b95f58e96aac4"></a>MARKET_GATEWAY64_PAL </td><tdclass="fielddoc"><p>The ROM is designed for a PAL Gateway 64. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545abe5d0f1f944cad284c5a91758a30c379"name="a64d030402f123f66f3c8360650107545abe5d0f1f944cad284c5a91758a30c379"></a>MARKET_CANADIAN </td><tdclass="fielddoc"><p>The ROM is designed for Canada region (English and French) language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a4b6ad276f30d76bfbfadb7b7268ab356"name="a64d030402f123f66f3c8360650107545a4b6ad276f30d76bfbfadb7b7268ab356"></a>MARKET_EUROPEAN_BASIC </td><tdclass="fielddoc"><p>The ROM is designed for European market and languages (must at minimum include English). </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a01bbf8dcc51edee02fdf339c864d66ea"name="a64d030402f123f66f3c8360650107545a01bbf8dcc51edee02fdf339c864d66ea"></a>MARKET_SPANISH </td><tdclass="fielddoc"><p>The ROM is designed for Spanish language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545af3c95d6d57569ce5413bcf0a1d0bca50"name="a64d030402f123f66f3c8360650107545af3c95d6d57569ce5413bcf0a1d0bca50"></a>MARKET_AUSTRALIAN </td><tdclass="fielddoc"><p>The ROM is designed for Australia (English) language. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545af5e46754892b5cbd81b6163b51d7bb44"name="a64d030402f123f66f3c8360650107545af5e46754892b5cbd81b6163b51d7bb44"></a>MARKET_SCANDINAVIAN </td><tdclass="fielddoc"><p>The ROM is designed for Scandinavian (Swedish, Norwegian, Finnish, etc.) languages. </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a9a33be6859415963d848880f7d1cadd6"name="a64d030402f123f66f3c8360650107545a9a33be6859415963d848880f7d1cadd6"></a>MARKET_OTHER_X </td><tdclass="fielddoc"><p>The ROM is designed for an undefined region and TBD language(s). </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a99303bee22a0150655178e4b45580c9c"name="a64d030402f123f66f3c8360650107545a99303bee22a0150655178e4b45580c9c"></a>MARKET_OTHER_Y </td><tdclass="fielddoc"><p>The ROM is designed for a European region and language(s). </p>
<tr><tdclass="fieldname"><aid="a64d030402f123f66f3c8360650107545a39a7ef9126c8174dde80215b516f15f0"name="a64d030402f123f66f3c8360650107545a39a7ef9126c8174dde80215b516f15f0"></a>MARKET_OTHER_Z </td><tdclass="fielddoc"><p>The ROM is designed for an undefined region and TBD language(s). </p>