mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
43 lines
400 B
C++
43 lines
400 B
C++
|
#include <stdio.h>
|
||
|
#include "NDS.h"
|
||
|
|
||
|
|
||
|
namespace NDS
|
||
|
{
|
||
|
|
||
|
//
|
||
|
|
||
|
|
||
|
void Init()
|
||
|
{
|
||
|
Reset();
|
||
|
}
|
||
|
|
||
|
void Reset()
|
||
|
{
|
||
|
FILE* f;
|
||
|
|
||
|
f = fopen("bios9.bin", "rb");
|
||
|
if (!f)
|
||
|
printf("ARM9 BIOS not found\n");
|
||
|
else
|
||
|
{
|
||
|
// load BIOS here
|
||
|
|
||
|
fclose(f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
template<typename T> T Read(u32 addr)
|
||
|
{
|
||
|
return (T)0;
|
||
|
}
|
||
|
|
||
|
template<typename T> void Write(u32 addr, T val)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
}
|