N64FlashcartMenu/flashcart_8h.html

161 lines
9.8 KiB
HTML
Raw Normal View History

<!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: flashcart.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&amp;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&amp;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_abdc04f88b2866c1353f358c089205e4.html">flashcart</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">flashcart.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Flashcart Subsystem.
<a href="#details">More...</a></p>
<p><a href="flashcart_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:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structflashcart__t.html">flashcart_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flashcart Structure. <a href="structflashcart__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:abfc9d6b33e9fba07880ecc5836765949"><td class="memItemLeft" align="right" valign="top"><a id="abfc9d6b33e9fba07880ecc5836765949" name="abfc9d6b33e9fba07880ecc5836765949"></a>
typedef void&#160;</td><td class="memItemRight" valign="bottom"><b>flashcart_progress_callback_t</b>(float progress)</td></tr>
<tr class="separator:abfc9d6b33e9fba07880ecc5836765949"><td class="memSeparator" colspan="2">&#160;</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:a350f576549fef0c185b679ef0a132289"><td class="memItemLeft" align="right" valign="top"><a id="a350f576549fef0c185b679ef0a132289" name="a350f576549fef0c185b679ef0a132289"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flashcart_8h.html#a350f576549fef0c185b679ef0a132289">flashcart_error_t</a> { <br />
&#160;&#160;<b>FLASHCART_OK</b>
, <b>FLASHCART_ERROR_NOT_DETECTED</b>
, <b>FLASHCART_ERROR_OUTDATED</b>
, <b>FLASHCART_ERROR_SD_CARD</b>
, <br />
&#160;&#160;<b>FLASHCART_ERROR_ARGS</b>
, <b>FLASHCART_ERROR_LOAD</b>
, <b>FLASHCART_ERROR_INT</b>
<br />
}</td></tr>
<tr class="memdesc:a350f576549fef0c185b679ef0a132289"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flashcart error enumeration. <br /></td></tr>
<tr class="separator:a350f576549fef0c185b679ef0a132289"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51261e17f581033419e18c3e3d0c2cf2"><td class="memItemLeft" align="right" valign="top"><a id="a51261e17f581033419e18c3e3d0c2cf2" name="a51261e17f581033419e18c3e3d0c2cf2"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="flashcart_8h.html#a51261e17f581033419e18c3e3d0c2cf2">flashcart_save_type_t</a> { <br />
&#160;&#160;<b>FLASHCART_SAVE_TYPE_NONE</b>
, <b>FLASHCART_SAVE_TYPE_EEPROM_4K</b>
, <b>FLASHCART_SAVE_TYPE_EEPROM_16K</b>
, <b>FLASHCART_SAVE_TYPE_SRAM</b>
, <br />
&#160;&#160;<b>FLASHCART_SAVE_TYPE_SRAM_BANKED</b>
, <b>FLASHCART_SAVE_TYPE_SRAM_128K</b>
, <b>FLASHCART_SAVE_TYPE_FLASHRAM</b>
, <b>FLASHCART_SAVE_TYPE_FLASHRAM_PKST2</b>
, <br />
&#160;&#160;<b>__FLASHCART_SAVE_TYPE_END</b>
<br />
}</td></tr>
<tr class="memdesc:a51261e17f581033419e18c3e3d0c2cf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flashcart save type enumeration. <br /></td></tr>
<tr class="separator:a51261e17f581033419e18c3e3d0c2cf2"><td class="memSeparator" colspan="2">&#160;</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:a4024fa595f146ea55008601219b42b11"><td class="memItemLeft" align="right" valign="top"><a id="a4024fa595f146ea55008601219b42b11" name="a4024fa595f146ea55008601219b42b11"></a>
<a class="el" href="flashcart_8h.html#a350f576549fef0c185b679ef0a132289">flashcart_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>flashcart_init</b> (void)</td></tr>
<tr class="separator:a4024fa595f146ea55008601219b42b11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca9778a0e9be6d7906028862f8a5f4d6"><td class="memItemLeft" align="right" valign="top"><a id="aca9778a0e9be6d7906028862f8a5f4d6" name="aca9778a0e9be6d7906028862f8a5f4d6"></a>
<a class="el" href="flashcart_8h.html#a350f576549fef0c185b679ef0a132289">flashcart_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>flashcart_deinit</b> (void)</td></tr>
<tr class="separator:aca9778a0e9be6d7906028862f8a5f4d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfc6c6adcd9af602c157f12b97ab7fa8"><td class="memItemLeft" align="right" valign="top"><a id="adfc6c6adcd9af602c157f12b97ab7fa8" name="adfc6c6adcd9af602c157f12b97ab7fa8"></a>
<a class="el" href="flashcart_8h.html#a350f576549fef0c185b679ef0a132289">flashcart_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>flashcart_load_rom</b> (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress)</td></tr>
<tr class="separator:adfc6c6adcd9af602c157f12b97ab7fa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af26ed13617898b0e8fbd7149fa865790"><td class="memItemLeft" align="right" valign="top"><a id="af26ed13617898b0e8fbd7149fa865790" name="af26ed13617898b0e8fbd7149fa865790"></a>
<a class="el" href="flashcart_8h.html#a350f576549fef0c185b679ef0a132289">flashcart_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>flashcart_load_file</b> (char *file_path, uint32_t rom_offset, uint32_t file_offset)</td></tr>
<tr class="separator:af26ed13617898b0e8fbd7149fa865790"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1daf9a93bc2e1ea534fdae3d1385f9e1"><td class="memItemLeft" align="right" valign="top"><a id="a1daf9a93bc2e1ea534fdae3d1385f9e1" name="a1daf9a93bc2e1ea534fdae3d1385f9e1"></a>
<a class="el" href="flashcart_8h.html#a350f576549fef0c185b679ef0a132289">flashcart_error_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>flashcart_load_save</b> (char *save_path, <a class="el" href="flashcart_8h.html#a51261e17f581033419e18c3e3d0c2cf2">flashcart_save_type_t</a> save_type)</td></tr>
<tr class="separator:a1daf9a93bc2e1ea534fdae3d1385f9e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Flashcart Subsystem. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 8 2023 19:50:07 for N64FlashcartMenu by&#160;<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>