mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-12-27 10:41:50 +01:00
635 lines
47 KiB
HTML
635 lines
47 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.5"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>N64FlashcartMenu: rom_database.h File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">N64FlashcartMenu
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.5 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_1a56cc8cdc1689899910be5fa4716ee4.html">menu</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">rom_database.h File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>N64 ROM Database.
|
|
<a href="#details">More...</a></p>
|
|
|
|
<p><a href="rom__database_8h_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:structrom__config__flags__t"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#structrom__config__flags__t">rom_config_flags_t</a></td></tr>
|
|
<tr class="memdesc:structrom__config__flags__t"><td class="mdescLeft"> </td><td class="mdescRight">ROM Config Flags Structure. <a href="rom__database_8h.html#structrom__config__flags__t">More...</a><br /></td></tr>
|
|
<tr class="separator:structrom__config__flags__t"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:structrom__metadata__t"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#structrom__metadata__t">rom_metadata_t</a></td></tr>
|
|
<tr class="memdesc:structrom__metadata__t"><td class="mdescLeft"> </td><td class="mdescRight">ROM Metadata Structure. <a href="rom__database_8h.html#structrom__metadata__t">More...</a><br /></td></tr>
|
|
<tr class="separator:structrom__metadata__t"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:structrom__header__t"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#structrom__header__t">rom_header_t</a></td></tr>
|
|
<tr class="memdesc:structrom__header__t"><td class="mdescLeft"> </td><td class="mdescRight">ROM Header Structure. <a href="rom__database_8h.html#structrom__header__t">More...</a><br /></td></tr>
|
|
<tr class="separator:structrom__header__t"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
|
|
Enumerations</h2></td></tr>
|
|
<tr class="memitem:aa9fa987c4bd8ced5523cd65f3408c685"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685">db_savetype_t</a> { <br />
|
|
  <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685a07ec54dd69369e0ebb3027bc6a69f48e">DB_SAVE_TYPE_NONE</a> = 0x00
|
|
, <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685a916ca00d1b321577c68ed8f80b9e3138">DB_SAVE_TYPE_EEPROM_4K</a> = 0x01
|
|
, <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685a9c484e229a227629541c43fafa973619">DB_SAVE_TYPE_EEPROM_16K</a> = 0x02
|
|
, <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685acce0b10714a290fa6c183e9cc647b253">DB_SAVE_TYPE_SRAM</a> = 0x03
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685ac159a2c35449b4e55f40bba06d965009">DB_SAVE_TYPE_SRAM_BANKED</a> = 0x04
|
|
, <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685ab9da468ef68af55b24c78543741d1017">DB_SAVE_TYPE_SRAM_128K</a> = 0x05
|
|
, <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685a38243ddc6e5d5804891e485629645707">DB_SAVE_TYPE_FLASHRAM</a> = 0x06
|
|
, <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685a218b71b755fa244349266a89270c5eb8">DB_SAVE_TYPE_CPAK</a> = 0x10
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685a9ec98db1226c93752c8879e0a8ea429e">DB_SAVE_TYPE_DD</a> = 0x20
|
|
, <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685a4b29a4117a90e53975d74e7f0cf1feb3">DB_SAVE_TYPE_DD_CONVERSION</a> = 0x30
|
|
, <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685a8dfe4e8e943ac053b89f8f9cf2aade86">DB_SAVE_TYPE_INVALID</a> = 0xFF
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:aa9fa987c4bd8ced5523cd65f3408c685"><td class="mdescLeft"> </td><td class="mdescRight">ROM database save type enumeration. <a href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685">More...</a><br /></td></tr>
|
|
<tr class="separator:aa9fa987c4bd8ced5523cd65f3408c685"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae15b00a2fe5f49a9791a351b91d97714"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#ae15b00a2fe5f49a9791a351b91d97714">rom_memorytype_t</a> { <br />
|
|
  <a class="el" href="rom__database_8h.html#ae15b00a2fe5f49a9791a351b91d97714ae7e681827e7e5d1260923b18534ca2d0">DB_MEMORY_EXPANSION_NONE</a> = 0x00
|
|
, <a class="el" href="rom__database_8h.html#ae15b00a2fe5f49a9791a351b91d97714a073891ae34cfb1d6d40200d7b0236e46">DB_MEMORY_EXPANSION_REQUIRED</a> = 0x01
|
|
, <a class="el" href="rom__database_8h.html#ae15b00a2fe5f49a9791a351b91d97714a88afc3f995da808c3772b2c6d92eeb2d">DB_MEMORY_EXPANSION_RECOMMENDED</a> = 0x02
|
|
, <a class="el" href="rom__database_8h.html#ae15b00a2fe5f49a9791a351b91d97714ac7d2a6db839e168ec13c9e07c6650630">DB_MEMORY_EXPANSION_SUGGESTED</a> = 0x03
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#ae15b00a2fe5f49a9791a351b91d97714a6ef02e89e4750185a5dfb3684e982bdf">DB_MEMORY_EXPANSION_FAULTY</a> = 0x04
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:ae15b00a2fe5f49a9791a351b91d97714"><td class="mdescLeft"> </td><td class="mdescRight">ROM system memory requirements enumeration. <a href="rom__database_8h.html#ae15b00a2fe5f49a9791a351b91d97714">More...</a><br /></td></tr>
|
|
<tr class="separator:ae15b00a2fe5f49a9791a351b91d97714"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3bd14048ebc4ca94184a04094d477fb8"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8">homebrew_savetype_t</a> { <br />
|
|
  <a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8a19b2659e1029cc57e3316e7ddb7b3098">HB_SAVE_TYPE_NONE</a> = 0x00
|
|
, <a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8aa924ea1df0fafd2abd108b11881663fc">HB_SAVE_TYPE_EEPROM_4K</a> = 0x01
|
|
, <a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8a10d83c5d10accab32697ee25aa722de0">HB_SAVE_TYPE_EEPROM_16K</a> = 0x02
|
|
, <a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8af8faee9773d12f24b30df0a99d5e8307">HB_SAVE_TYPE_SRAM</a> = 0x03
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8a89495d0cc0553ec93813bdc8cb7d6594">HB_SAVE_TYPE_SRAM_BANKED</a> = 0x04
|
|
, <a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8a3e8acd0c73d718a43ea1f7dd9c091da0">HB_SAVE_TYPE_FLASHRAM</a> = 0x05
|
|
, <a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8a03bbf34c332244ff38bd4c3202a366c4">HB_SAVE_TYPE_SRAM_128K</a> = 0x06
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:a3bd14048ebc4ca94184a04094d477fb8"><td class="mdescLeft"> </td><td class="mdescRight">ROM homebrew save type enumeration. <a href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8">More...</a><br /></td></tr>
|
|
<tr class="separator:a3bd14048ebc4ca94184a04094d477fb8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad10f4f1e1c8138c9715e87d9113c85a7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7">rom_endian_type_t</a> { <br />
|
|
  <a class="el" href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7a2762e3000863a02f8ed4e3e85d390d5c">ROM_BIG_ENDIAN</a> = 0x80371240
|
|
, <a class="el" href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7adf8f0685a583ce5117b8d16518f75caa">ROM_LITTLE_ENDIAN</a> = 0x40123780
|
|
, <a class="el" href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7ac8e75ac53052e21af772a8f35b69ecf2">ROM_MID_BIG_ENDIAN</a> = 0x37804012
|
|
, <a class="el" href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7abcaf9dc73653de13df226b79c0be87aa">ROM_MID_LITTLE_ENDIAN</a> = 0x12408037
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7a8402595393579af3273cc16a5477bce3">IPL_BIG_ENDIAN</a> = 0x80270740
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:ad10f4f1e1c8138c9715e87d9113c85a7"><td class="mdescLeft"> </td><td class="mdescRight">ROM file endian enumeration. <a href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7">More...</a><br /></td></tr>
|
|
<tr class="separator:ad10f4f1e1c8138c9715e87d9113c85a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c6debc1bf7d7067342309be5d63e74c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74c">rom_media_type_t</a> { <br />
|
|
  <a class="el" href="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74ca1bd823fc8b9c795053d238a96c6f5524">N64_CART</a> = 'N'
|
|
, <a class="el" href="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74ca4892177cc838193ba4b53d904d91af25">N64_DISK</a> = 'D'
|
|
, <a class="el" href="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74ca45d9f8446e39a1fa4220d57448e609df">N64_CART_EXPANDABLE</a> = 'C'
|
|
, <a class="el" href="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74ca0b98dff1eb797c2684050e4d430d8722">N64_DISK_EXPANDABLE</a> = 'E'
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74cae05d1f3888937647e60af840097f32c0">N64_ALECK64</a> = 'Z'
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:a7c6debc1bf7d7067342309be5d63e74c"><td class="mdescLeft"> </td><td class="mdescRight">ROM media type enumeration. <a href="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74c">More...</a><br /></td></tr>
|
|
<tr class="separator:a7c6debc1bf7d7067342309be5d63e74c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a64d030402f123f66f3c8360650107545"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545">rom_destination_market_t</a> { <br />
|
|
  <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a87b3cff825fef81ced068588be03ec7b">MARKET_JAPANESE_MULTI</a> = 'A'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545aab39c57cfd0fb43a7af9bd2c682c62ce">MARKET_BRAZILIAN</a> = 'B'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545ad224762fea1a531aa708be42f866408b">MARKET_CHINESE</a> = 'C'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a705dbb6f23b076d51a7ddd96a262cfa4">MARKET_GERMAN</a> = 'D'
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a7f85f1e3498bf9699e243b081cdbfe6b">MARKET_NORTH_AMERICA</a> = 'E'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545af60c0d80eaa8026ff384f2a5a78dd1c8">MARKET_FRENCH</a> = 'F'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545ab0a10418b57442d5759df02f5a0f45e8">MARKET_GATEWAY64_NTSC</a> = 'G'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545ab1d8ed6dbfef6c7b95126a44206068a6">MARKET_DUTCH</a> = 'H'
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a6500a23f7efea1dd76a82407410bcdf8">MARKET_ITALIAN</a> = 'I'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a785c98321d0422b477041f7ad95ef506">MARKET_JAPANESE</a> = 'J'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a7761799f68396739e9c25f18c4b70e92">MARKET_KOREAN</a> = 'K'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545aaba43978734c0351513b95f58e96aac4">MARKET_GATEWAY64_PAL</a> = 'L'
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545abe5d0f1f944cad284c5a91758a30c379">MARKET_CANADIAN</a> = 'N'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a4b6ad276f30d76bfbfadb7b7268ab356">MARKET_EUROPEAN_BASIC</a> = 'P'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a01bbf8dcc51edee02fdf339c864d66ea">MARKET_SPANISH</a> = 'S'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545af3c95d6d57569ce5413bcf0a1d0bca50">MARKET_AUSTRALIAN</a> = 'U'
|
|
, <br />
|
|
  <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545af5e46754892b5cbd81b6163b51d7bb44">MARKET_SCANDINAVIAN</a> = 'W'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a9a33be6859415963d848880f7d1cadd6">MARKET_OTHER_X</a> = 'X'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a99303bee22a0150655178e4b45580c9c">MARKET_OTHER_Y</a> = 'Y'
|
|
, <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545a39a7ef9126c8174dde80215b516f15f0">MARKET_OTHER_Z</a> = 'Z'
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="memdesc:a64d030402f123f66f3c8360650107545"><td class="mdescLeft"> </td><td class="mdescRight">ROM market region & language type enumeration. <a href="rom__database_8h.html#a64d030402f123f66f3c8360650107545">More...</a><br /></td></tr>
|
|
<tr class="separator:a64d030402f123f66f3c8360650107545"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a7a380f5fac523be56bad42cef02d0a3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="rom__database_8h.html#structrom__header__t">rom_header_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rom__database_8h.html#a7a380f5fac523be56bad42cef02d0a3d">file_read_rom_header</a> (char *path)</td></tr>
|
|
<tr class="memdesc:a7a380f5fac523be56bad42cef02d0a3d"><td class="mdescLeft"> </td><td class="mdescRight">Reads the N64 ROM header from a file. <a href="rom__database_8h.html#a7a380f5fac523be56bad42cef02d0a3d">More...</a><br /></td></tr>
|
|
<tr class="separator:a7a380f5fac523be56bad42cef02d0a3d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8d36ec19ca4accc654787bad064b4e99"><td class="memItemLeft" align="right" valign="top"><a id="a8d36ec19ca4accc654787bad064b4e99" name="a8d36ec19ca4accc654787bad064b4e99"></a>
|
|
uint8_t </td><td class="memItemRight" valign="bottom"><b>rom_db_match_save_type</b> (<a class="el" href="rom__database_8h.html#structrom__header__t">rom_header_t</a> rom_header)</td></tr>
|
|
<tr class="separator:a8d36ec19ca4accc654787bad064b4e99"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a43c3809bb30139778d5e5d2e8f08be97"><td class="memItemLeft" align="right" valign="top"><a id="a43c3809bb30139778d5e5d2e8f08be97" name="a43c3809bb30139778d5e5d2e8f08be97"></a>
|
|
uint8_t </td><td class="memItemRight" valign="bottom"><b>rom_db_match_expansion_pak</b> (<a class="el" href="rom__database_8h.html#structrom__header__t">rom_header_t</a> rom_header)</td></tr>
|
|
<tr class="separator:a43c3809bb30139778d5e5d2e8f08be97"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p >N64 ROM Database. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>Only works with N64 ROM's by checking the first 1024 bytes of the file. </dd></dl>
|
|
</div><hr/><h2 class="groupheader">Data Structure Documentation</h2>
|
|
<a name="structrom__config__flags__t" id="structrom__config__flags__t"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#structrom__config__flags__t">◆ </a></span>rom_config_flags_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct rom_config_flags_t</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="textblock"><p >ROM Config Flags Structure. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>This information is derived from the ROM header. </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a href="https://n64brew.dev/wiki/Peripheral_Interface#Domains">https://n64brew.dev/wiki/Peripheral_Interface#Domains</a> i.e. 0x00 = PI BSD Domain 1 Release register 0x01 = PI BSD Domain 1 Page Size register 0x02 = PI BSD Domain 1 Pulse Width register 0x03 = PI BSD Domain 1 Latch register </dd></dl>
|
|
</div><table class="fieldtable">
|
|
<tr><th colspan="3">Data Fields</th></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a5873087f15174e6965b101b57839f683" name="a5873087f15174e6965b101b57839f683"></a>uint8_t</td>
|
|
<td class="fieldname">
|
|
domain1_release</td>
|
|
<td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a0b4b4d234520135993d503e1ce5937ee" name="a0b4b4d234520135993d503e1ce5937ee"></a>uint8_t</td>
|
|
<td class="fieldname">
|
|
domain1_page_size</td>
|
|
<td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a7c39a6d9b6e9ec70ec0fa790eb196667" name="a7c39a6d9b6e9ec70ec0fa790eb196667"></a>uint8_t</td>
|
|
<td class="fieldname">
|
|
domain1_latency</td>
|
|
<td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="aa7e568b3820af079d8d0767aa93f0010" name="aa7e568b3820af079d8d0767aa93f0010"></a>uint8_t</td>
|
|
<td class="fieldname">
|
|
domain1_pulse_width</td>
|
|
<td class="fielddoc">
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a name="structrom__metadata__t" id="structrom__metadata__t"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#structrom__metadata__t">◆ </a></span>rom_metadata_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct rom_metadata_t</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="textblock"><p >ROM Metadata Structure. </p>
|
|
<dl class="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>
|
|
</div><table class="fieldtable">
|
|
<tr><th colspan="3">Data Fields</th></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a6390225821795a8dbaab49f4adf9d462" name="a6390225821795a8dbaab49f4adf9d462"></a>uint8_t</td>
|
|
<td class="fieldname">
|
|
media_type</td>
|
|
<td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a496c29d12d0ab77ac024bcb06821ec71" name="a496c29d12d0ab77ac024bcb06821ec71"></a>uint16_t</td>
|
|
<td class="fieldname">
|
|
unique_identifier</td>
|
|
<td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="aefdef0a816127f15d3e33113d43960d7" name="aefdef0a816127f15d3e33113d43960d7"></a>uint8_t</td>
|
|
<td class="fieldname">
|
|
destination_market</td>
|
|
<td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a2704a5413a0b5f2062e36a81188e3bec" name="a2704a5413a0b5f2062e36a81188e3bec"></a>uint8_t</td>
|
|
<td class="fieldname">
|
|
version</td>
|
|
<td class="fielddoc">
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a name="structrom__header__t" id="structrom__header__t"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#structrom__header__t">◆ </a></span>rom_header_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct rom_header_t</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="textblock"><p >ROM Header Structure. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>This information is derived from the ROM header. </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a href="https://n64brew.dev/wiki/ROM_Header">https://n64brew.dev/wiki/ROM_Header</a> </dd></dl>
|
|
</div><table class="fieldtable">
|
|
<tr><th colspan="3">Data Fields</th></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a36b8274c051911b8739c732d4290d17c" name="a36b8274c051911b8739c732d4290d17c"></a>uint32_t</td>
|
|
<td class="fieldname">
|
|
config_flags</td>
|
|
<td class="fielddoc">
|
|
The ROM configuration flags. <dl class="section note"><dt>Note</dt><dd>we currently use this to work out the endian </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7" title="ROM file endian enumeration.">rom_endian_type_t</a>. </dd></dl>
|
|
</td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="ae541531dc9e7ae139f3c88716ab303c0" name="ae541531dc9e7ae139f3c88716ab303c0"></a>uint32_t</td>
|
|
<td class="fieldname">
|
|
clock_rate</td>
|
|
<td class="fielddoc">
|
|
The ROM file clock rate. </td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="aa48b8e6299791b00d3050c8b426ea7c0" name="aa48b8e6299791b00d3050c8b426ea7c0"></a>uint32_t</td>
|
|
<td class="fieldname">
|
|
boot_address</td>
|
|
<td class="fielddoc">
|
|
The ROM file boot address. </td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a0115fe44deda826f21523f83edefd517" name="a0115fe44deda826f21523f83edefd517"></a>uint32_t</td>
|
|
<td class="fieldname">
|
|
sdk_version</td>
|
|
<td class="fielddoc">
|
|
The ROM file SDK version. </td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="ade2251d6099a8fb44460f206d79faf62" name="ade2251d6099a8fb44460f206d79faf62"></a>uint64_t</td>
|
|
<td class="fieldname">
|
|
checksum</td>
|
|
<td class="fielddoc">
|
|
The ROM file checksum. </td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a825b12b7c8fdd72980e7d987c26b1f76" name="a825b12b7c8fdd72980e7d987c26b1f76"></a>uint64_t</td>
|
|
<td class="fieldname">
|
|
unknown_reserved_1</td>
|
|
<td class="fielddoc">
|
|
The ROM file unknown reserved region at 0x18. for 8 bytes. </td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a52acfe0dc99a48195e43c88dd8a2528b" name="a52acfe0dc99a48195e43c88dd8a2528b"></a>char</td>
|
|
<td class="fieldname">
|
|
title[21]</td>
|
|
<td class="fielddoc">
|
|
The ROM file title. </td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="ae03145554be76986cb1d1bff2aff4585" name="ae03145554be76986cb1d1bff2aff4585"></a>char</td>
|
|
<td class="fieldname">
|
|
unknown_reserved_2[7]</td>
|
|
<td class="fielddoc">
|
|
The ROM file unknown reserved region at 0x34. for 7 bytes. </td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a57ad29be073b94eeeb7b7e41f8648c93" name="a57ad29be073b94eeeb7b7e41f8648c93"></a><a class="el" href="rom__database_8h.html#structrom__metadata__t">rom_metadata_t</a></td>
|
|
<td class="fieldname">
|
|
metadata</td>
|
|
<td class="fielddoc">
|
|
The ROM file metadata. <dl class="section see"><dt>See also</dt><dd><a class="el" href="rom__database_8h.html#structrom__metadata__t" title="ROM Metadata Structure.">rom_metadata_t</a>. </dd></dl>
|
|
</td></tr>
|
|
<tr><td class="fieldtype">
|
|
<a id="a21815400a686f92a7bfffdd1f17b5b86" name="a21815400a686f92a7bfffdd1f17b5b86"></a>char</td>
|
|
<td class="fieldname">
|
|
ipl_boot_code[0x0FC0]</td>
|
|
<td class="fielddoc">
|
|
The ROM file release version. </td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
|
<a id="aa9fa987c4bd8ced5523cd65f3408c685" name="aa9fa987c4bd8ced5523cd65f3408c685"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa9fa987c4bd8ced5523cd65f3408c685">◆ </a></span>db_savetype_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="rom__database_8h.html#aa9fa987c4bd8ced5523cd65f3408c685">db_savetype_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>ROM database save type enumeration. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>These values are independent of flashcart / OS but by default align to SC64. </dd></dl>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685a07ec54dd69369e0ebb3027bc6a69f48e" name="aa9fa987c4bd8ced5523cd65f3408c685a07ec54dd69369e0ebb3027bc6a69f48e"></a>DB_SAVE_TYPE_NONE </td><td class="fielddoc"><p >The ROM has no save type. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685a916ca00d1b321577c68ed8f80b9e3138" name="aa9fa987c4bd8ced5523cd65f3408c685a916ca00d1b321577c68ed8f80b9e3138"></a>DB_SAVE_TYPE_EEPROM_4K </td><td class="fielddoc"><p >The ROM uses EEPROM 4K saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685a9c484e229a227629541c43fafa973619" name="aa9fa987c4bd8ced5523cd65f3408c685a9c484e229a227629541c43fafa973619"></a>DB_SAVE_TYPE_EEPROM_16K </td><td class="fielddoc"><p >The ROM uses EEPROM 16K saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685acce0b10714a290fa6c183e9cc647b253" name="aa9fa987c4bd8ced5523cd65f3408c685acce0b10714a290fa6c183e9cc647b253"></a>DB_SAVE_TYPE_SRAM </td><td class="fielddoc"><p >The ROM uses SRAM saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685ac159a2c35449b4e55f40bba06d965009" name="aa9fa987c4bd8ced5523cd65f3408c685ac159a2c35449b4e55f40bba06d965009"></a>DB_SAVE_TYPE_SRAM_BANKED </td><td class="fielddoc"><p >The ROM uses SRAM Banked saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685ab9da468ef68af55b24c78543741d1017" name="aa9fa987c4bd8ced5523cd65f3408c685ab9da468ef68af55b24c78543741d1017"></a>DB_SAVE_TYPE_SRAM_128K </td><td class="fielddoc"><p >The ROM uses SRAM 128K saves. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>This is not supported by all flashcarts. </dd></dl>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685a38243ddc6e5d5804891e485629645707" name="aa9fa987c4bd8ced5523cd65f3408c685a38243ddc6e5d5804891e485629645707"></a>DB_SAVE_TYPE_FLASHRAM </td><td class="fielddoc"><p >The ROM uses FLASHRAM saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685a218b71b755fa244349266a89270c5eb8" name="aa9fa987c4bd8ced5523cd65f3408c685a218b71b755fa244349266a89270c5eb8"></a>DB_SAVE_TYPE_CPAK </td><td class="fielddoc"><p >The ROM uses CPAK saves. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>This must be handled by user code. </dd></dl>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685a9ec98db1226c93752c8879e0a8ea429e" name="aa9fa987c4bd8ced5523cd65f3408c685a9ec98db1226c93752c8879e0a8ea429e"></a>DB_SAVE_TYPE_DD </td><td class="fielddoc"><p >The ROM uses Disk Drive saves. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>This is not supported by all flashcarts. </dd></dl>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685a4b29a4117a90e53975d74e7f0cf1feb3" name="aa9fa987c4bd8ced5523cd65f3408c685a4b29a4117a90e53975d74e7f0cf1feb3"></a>DB_SAVE_TYPE_DD_CONVERSION </td><td class="fielddoc"><p >The ROM uses Disk Drive conversion saves. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>This must be handled by user code. </dd></dl>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="aa9fa987c4bd8ced5523cd65f3408c685a8dfe4e8e943ac053b89f8f9cf2aade86" name="aa9fa987c4bd8ced5523cd65f3408c685a8dfe4e8e943ac053b89f8f9cf2aade86"></a>DB_SAVE_TYPE_INVALID </td><td class="fielddoc"><p >The ROM uses a save type that was not recognised. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae15b00a2fe5f49a9791a351b91d97714" name="ae15b00a2fe5f49a9791a351b91d97714"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae15b00a2fe5f49a9791a351b91d97714">◆ </a></span>rom_memorytype_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="rom__database_8h.html#ae15b00a2fe5f49a9791a351b91d97714">rom_memorytype_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>ROM system memory requirements enumeration. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ae15b00a2fe5f49a9791a351b91d97714ae7e681827e7e5d1260923b18534ca2d0" name="ae15b00a2fe5f49a9791a351b91d97714ae7e681827e7e5d1260923b18534ca2d0"></a>DB_MEMORY_EXPANSION_NONE </td><td class="fielddoc"><p >The ROM is happy with 4MB of memory. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ae15b00a2fe5f49a9791a351b91d97714a073891ae34cfb1d6d40200d7b0236e46" name="ae15b00a2fe5f49a9791a351b91d97714a073891ae34cfb1d6d40200d7b0236e46"></a>DB_MEMORY_EXPANSION_REQUIRED </td><td class="fielddoc"><p >The ROM requires 8MB of memory. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ae15b00a2fe5f49a9791a351b91d97714a88afc3f995da808c3772b2c6d92eeb2d" name="ae15b00a2fe5f49a9791a351b91d97714a88afc3f995da808c3772b2c6d92eeb2d"></a>DB_MEMORY_EXPANSION_RECOMMENDED </td><td class="fielddoc"><p >The ROM recommends 8MB of memory. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ae15b00a2fe5f49a9791a351b91d97714ac7d2a6db839e168ec13c9e07c6650630" name="ae15b00a2fe5f49a9791a351b91d97714ac7d2a6db839e168ec13c9e07c6650630"></a>DB_MEMORY_EXPANSION_SUGGESTED </td><td class="fielddoc"><p >The ROM suggests 8MB of memory. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ae15b00a2fe5f49a9791a351b91d97714a6ef02e89e4750185a5dfb3684e982bdf" name="ae15b00a2fe5f49a9791a351b91d97714a6ef02e89e4750185a5dfb3684e982bdf"></a>DB_MEMORY_EXPANSION_FAULTY </td><td class="fielddoc"><p >The ROM is faulty when using 8MB of memory. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3bd14048ebc4ca94184a04094d477fb8" name="a3bd14048ebc4ca94184a04094d477fb8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3bd14048ebc4ca94184a04094d477fb8">◆ </a></span>homebrew_savetype_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="rom__database_8h.html#a3bd14048ebc4ca94184a04094d477fb8">homebrew_savetype_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>ROM homebrew save type enumeration. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>These align to the Krikzz ED64 save types and are generally accepted by all emulators. </dd></dl>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a3bd14048ebc4ca94184a04094d477fb8a19b2659e1029cc57e3316e7ddb7b3098" name="a3bd14048ebc4ca94184a04094d477fb8a19b2659e1029cc57e3316e7ddb7b3098"></a>HB_SAVE_TYPE_NONE </td><td class="fielddoc"><p >The ROM has no save type. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3bd14048ebc4ca94184a04094d477fb8aa924ea1df0fafd2abd108b11881663fc" name="a3bd14048ebc4ca94184a04094d477fb8aa924ea1df0fafd2abd108b11881663fc"></a>HB_SAVE_TYPE_EEPROM_4K </td><td class="fielddoc"><p >The ROM uses EEPROM 4K saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3bd14048ebc4ca94184a04094d477fb8a10d83c5d10accab32697ee25aa722de0" name="a3bd14048ebc4ca94184a04094d477fb8a10d83c5d10accab32697ee25aa722de0"></a>HB_SAVE_TYPE_EEPROM_16K </td><td class="fielddoc"><p >The ROM uses EEPROM 16K saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3bd14048ebc4ca94184a04094d477fb8af8faee9773d12f24b30df0a99d5e8307" name="a3bd14048ebc4ca94184a04094d477fb8af8faee9773d12f24b30df0a99d5e8307"></a>HB_SAVE_TYPE_SRAM </td><td class="fielddoc"><p >The ROM uses SRAM saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3bd14048ebc4ca94184a04094d477fb8a89495d0cc0553ec93813bdc8cb7d6594" name="a3bd14048ebc4ca94184a04094d477fb8a89495d0cc0553ec93813bdc8cb7d6594"></a>HB_SAVE_TYPE_SRAM_BANKED </td><td class="fielddoc"><p >The ROM uses SRAM Banked saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3bd14048ebc4ca94184a04094d477fb8a3e8acd0c73d718a43ea1f7dd9c091da0" name="a3bd14048ebc4ca94184a04094d477fb8a3e8acd0c73d718a43ea1f7dd9c091da0"></a>HB_SAVE_TYPE_FLASHRAM </td><td class="fielddoc"><p >The ROM uses FLASHRAM saves. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3bd14048ebc4ca94184a04094d477fb8a03bbf34c332244ff38bd4c3202a366c4" name="a3bd14048ebc4ca94184a04094d477fb8a03bbf34c332244ff38bd4c3202a366c4"></a>HB_SAVE_TYPE_SRAM_128K </td><td class="fielddoc"><p >The ROM uses SRAM 128K saves. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>This is not supported by all flashcarts. </dd></dl>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad10f4f1e1c8138c9715e87d9113c85a7" name="ad10f4f1e1c8138c9715e87d9113c85a7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad10f4f1e1c8138c9715e87d9113c85a7">◆ </a></span>rom_endian_type_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="rom__database_8h.html#ad10f4f1e1c8138c9715e87d9113c85a7">rom_endian_type_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>ROM file endian enumeration. </p>
|
|
<dl class="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>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ad10f4f1e1c8138c9715e87d9113c85a7a2762e3000863a02f8ed4e3e85d390d5c" name="ad10f4f1e1c8138c9715e87d9113c85a7a2762e3000863a02f8ed4e3e85d390d5c"></a>ROM_BIG_ENDIAN </td><td class="fielddoc"><p >Big Endian ROM. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ad10f4f1e1c8138c9715e87d9113c85a7adf8f0685a583ce5117b8d16518f75caa" name="ad10f4f1e1c8138c9715e87d9113c85a7adf8f0685a583ce5117b8d16518f75caa"></a>ROM_LITTLE_ENDIAN </td><td class="fielddoc"><p >Little Endian ROM. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ad10f4f1e1c8138c9715e87d9113c85a7ac8e75ac53052e21af772a8f35b69ecf2" name="ad10f4f1e1c8138c9715e87d9113c85a7ac8e75ac53052e21af772a8f35b69ecf2"></a>ROM_MID_BIG_ENDIAN </td><td class="fielddoc"><p >Mid Big Endian ROM. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ad10f4f1e1c8138c9715e87d9113c85a7abcaf9dc73653de13df226b79c0be87aa" name="ad10f4f1e1c8138c9715e87d9113c85a7abcaf9dc73653de13df226b79c0be87aa"></a>ROM_MID_LITTLE_ENDIAN </td><td class="fielddoc"><p >Mid Little Endian ROM. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ad10f4f1e1c8138c9715e87d9113c85a7a8402595393579af3273cc16a5477bce3" name="ad10f4f1e1c8138c9715e87d9113c85a7a8402595393579af3273cc16a5477bce3"></a>IPL_BIG_ENDIAN </td><td class="fielddoc"><p >Big Endian IPL ROM. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7c6debc1bf7d7067342309be5d63e74c" name="a7c6debc1bf7d7067342309be5d63e74c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7c6debc1bf7d7067342309be5d63e74c">◆ </a></span>rom_media_type_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="rom__database_8h.html#a7c6debc1bf7d7067342309be5d63e74c">rom_media_type_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>ROM media type enumeration. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7c6debc1bf7d7067342309be5d63e74ca1bd823fc8b9c795053d238a96c6f5524" name="a7c6debc1bf7d7067342309be5d63e74ca1bd823fc8b9c795053d238a96c6f5524"></a>N64_CART </td><td class="fielddoc"><p >Is a stand alone Cartridge program. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a7c6debc1bf7d7067342309be5d63e74ca4892177cc838193ba4b53d904d91af25" name="a7c6debc1bf7d7067342309be5d63e74ca4892177cc838193ba4b53d904d91af25"></a>N64_DISK </td><td class="fielddoc"><p >Is a stand alone Disk Drive program. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a7c6debc1bf7d7067342309be5d63e74ca45d9f8446e39a1fa4220d57448e609df" name="a7c6debc1bf7d7067342309be5d63e74ca45d9f8446e39a1fa4220d57448e609df"></a>N64_CART_EXPANDABLE </td><td class="fielddoc"><p >Is a Cartridge program that could use an extra Disk Drive program to expand its capabilities. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a7c6debc1bf7d7067342309be5d63e74ca0b98dff1eb797c2684050e4d430d8722" name="a7c6debc1bf7d7067342309be5d63e74ca0b98dff1eb797c2684050e4d430d8722"></a>N64_DISK_EXPANDABLE </td><td class="fielddoc"><p >Is a Disk Drive program that could use an extra Cartridge program to expand its capabilities. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a7c6debc1bf7d7067342309be5d63e74cae05d1f3888937647e60af840097f32c0" name="a7c6debc1bf7d7067342309be5d63e74cae05d1f3888937647e60af840097f32c0"></a>N64_ALECK64 </td><td class="fielddoc"><p >Is an Aleck64 program. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a64d030402f123f66f3c8360650107545" name="a64d030402f123f66f3c8360650107545"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a64d030402f123f66f3c8360650107545">◆ </a></span>rom_destination_market_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="rom__database_8h.html#a64d030402f123f66f3c8360650107545">rom_destination_market_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>ROM market region & language type enumeration. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a87b3cff825fef81ced068588be03ec7b" name="a64d030402f123f66f3c8360650107545a87b3cff825fef81ced068588be03ec7b"></a>MARKET_JAPANESE_MULTI </td><td class="fielddoc"><p >The ROM is designed for Japanese and "English" languages. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545aab39c57cfd0fb43a7af9bd2c682c62ce" name="a64d030402f123f66f3c8360650107545aab39c57cfd0fb43a7af9bd2c682c62ce"></a>MARKET_BRAZILIAN </td><td class="fielddoc"><p >The ROM is designed for Brazil (Portuguese) language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545ad224762fea1a531aa708be42f866408b" name="a64d030402f123f66f3c8360650107545ad224762fea1a531aa708be42f866408b"></a>MARKET_CHINESE </td><td class="fielddoc"><p >The ROM is designed for Chinese language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a705dbb6f23b076d51a7ddd96a262cfa4" name="a64d030402f123f66f3c8360650107545a705dbb6f23b076d51a7ddd96a262cfa4"></a>MARKET_GERMAN </td><td class="fielddoc"><p >The ROM is designed for German language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a7f85f1e3498bf9699e243b081cdbfe6b" name="a64d030402f123f66f3c8360650107545a7f85f1e3498bf9699e243b081cdbfe6b"></a>MARKET_NORTH_AMERICA </td><td class="fielddoc"><p >The ROM is designed for North American "English" language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545af60c0d80eaa8026ff384f2a5a78dd1c8" name="a64d030402f123f66f3c8360650107545af60c0d80eaa8026ff384f2a5a78dd1c8"></a>MARKET_FRENCH </td><td class="fielddoc"><p >The ROM is designed for French language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545ab0a10418b57442d5759df02f5a0f45e8" name="a64d030402f123f66f3c8360650107545ab0a10418b57442d5759df02f5a0f45e8"></a>MARKET_GATEWAY64_NTSC </td><td class="fielddoc"><p >The ROM is designed for a NTSC Gateway 64. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545ab1d8ed6dbfef6c7b95126a44206068a6" name="a64d030402f123f66f3c8360650107545ab1d8ed6dbfef6c7b95126a44206068a6"></a>MARKET_DUTCH </td><td class="fielddoc"><p >The ROM is designed for Dutch language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a6500a23f7efea1dd76a82407410bcdf8" name="a64d030402f123f66f3c8360650107545a6500a23f7efea1dd76a82407410bcdf8"></a>MARKET_ITALIAN </td><td class="fielddoc"><p >The ROM is designed for Italian language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a785c98321d0422b477041f7ad95ef506" name="a64d030402f123f66f3c8360650107545a785c98321d0422b477041f7ad95ef506"></a>MARKET_JAPANESE </td><td class="fielddoc"><p >The ROM is designed for Japanese language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a7761799f68396739e9c25f18c4b70e92" name="a64d030402f123f66f3c8360650107545a7761799f68396739e9c25f18c4b70e92"></a>MARKET_KOREAN </td><td class="fielddoc"><p >The ROM is designed for Korean language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545aaba43978734c0351513b95f58e96aac4" name="a64d030402f123f66f3c8360650107545aaba43978734c0351513b95f58e96aac4"></a>MARKET_GATEWAY64_PAL </td><td class="fielddoc"><p >The ROM is designed for a PAL Gateway 64. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545abe5d0f1f944cad284c5a91758a30c379" name="a64d030402f123f66f3c8360650107545abe5d0f1f944cad284c5a91758a30c379"></a>MARKET_CANADIAN </td><td class="fielddoc"><p >The ROM is designed for Canada region (English and French) language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a4b6ad276f30d76bfbfadb7b7268ab356" name="a64d030402f123f66f3c8360650107545a4b6ad276f30d76bfbfadb7b7268ab356"></a>MARKET_EUROPEAN_BASIC </td><td class="fielddoc"><p >The ROM is designed for European market and languages (must at minimum include English). </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a01bbf8dcc51edee02fdf339c864d66ea" name="a64d030402f123f66f3c8360650107545a01bbf8dcc51edee02fdf339c864d66ea"></a>MARKET_SPANISH </td><td class="fielddoc"><p >The ROM is designed for Spanish language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545af3c95d6d57569ce5413bcf0a1d0bca50" name="a64d030402f123f66f3c8360650107545af3c95d6d57569ce5413bcf0a1d0bca50"></a>MARKET_AUSTRALIAN </td><td class="fielddoc"><p >The ROM is designed for Australia (English) language. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545af5e46754892b5cbd81b6163b51d7bb44" name="a64d030402f123f66f3c8360650107545af5e46754892b5cbd81b6163b51d7bb44"></a>MARKET_SCANDINAVIAN </td><td class="fielddoc"><p >The ROM is designed for Scandinavian (Swedish, Norwegian, Finnish, etc.) languages. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a9a33be6859415963d848880f7d1cadd6" name="a64d030402f123f66f3c8360650107545a9a33be6859415963d848880f7d1cadd6"></a>MARKET_OTHER_X </td><td class="fielddoc"><p >The ROM is designed for an undefined region and TBD language(s). </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a99303bee22a0150655178e4b45580c9c" name="a64d030402f123f66f3c8360650107545a99303bee22a0150655178e4b45580c9c"></a>MARKET_OTHER_Y </td><td class="fielddoc"><p >The ROM is designed for a European region and language(s). </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a64d030402f123f66f3c8360650107545a39a7ef9126c8174dde80215b516f15f0" name="a64d030402f123f66f3c8360650107545a39a7ef9126c8174dde80215b516f15f0"></a>MARKET_OTHER_Z </td><td class="fielddoc"><p >The ROM is designed for an undefined region and TBD language(s). </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a7a380f5fac523be56bad42cef02d0a3d" name="a7a380f5fac523be56bad42cef02d0a3d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7a380f5fac523be56bad42cef02d0a3d">◆ </a></span>file_read_rom_header()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="rom__database_8h.html#structrom__header__t">rom_header_t</a> file_read_rom_header </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>path</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reads the N64 ROM header from a file. </p>
|
|
<dl class="section see"><dt>See also</dt><dd><a href="https://n64brew.dev/wiki/ROM_Header">https://n64brew.dev/wiki/ROM_Header</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Sun Aug 20 2023 18:27:07 for N64FlashcartMenu by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|