mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 08:10:27 -06:00
add support for SPI shutdown, btw
This commit is contained in:
@ -29,6 +29,7 @@
|
||||
#include "SPI.h"
|
||||
#include "RTC.h"
|
||||
#include "Wifi.h"
|
||||
#include "Platform.h"
|
||||
|
||||
|
||||
namespace NDS
|
||||
@ -342,6 +343,13 @@ void Reset()
|
||||
Wifi::Reset();
|
||||
}
|
||||
|
||||
void Stop()
|
||||
{
|
||||
printf("Stopping: shutdown\n");
|
||||
Platform::StopEmu();
|
||||
SPU::Stop();
|
||||
}
|
||||
|
||||
void LoadROM(const char* path, bool direct)
|
||||
{
|
||||
Reset();
|
||||
|
Reference in New Issue
Block a user