mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
Add srl and dsi as "direct-load" formats
* Direct-load = anything not in an archive Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>
This commit is contained in:
@ -506,7 +506,7 @@ int Reset()
|
||||
else
|
||||
{
|
||||
QString fileName(ROMPath[ROMSlot_NDS]);
|
||||
if(fileName.endsWith(".nds"))
|
||||
if(fileName.endsWith(".nds") || fileName.endsWith(".srl") || fileName.endsWith(".dsi"))
|
||||
{
|
||||
SetupSRAMPath(0);
|
||||
if (!NDS::LoadROM(ROMPath[ROMSlot_NDS], SRAMPath[ROMSlot_NDS], directboot))
|
||||
|
@ -1742,7 +1742,7 @@ void MainWindow::onClickRecentFile()
|
||||
QAction *act = (QAction *)sender();
|
||||
QString fileName = act->data().toString();
|
||||
|
||||
if(fileName.endsWith(".gba") || fileName.endsWith(".nds"))
|
||||
if(fileName.endsWith(".gba") || fileName.endsWith(".nds") || fileName.endsWith(".srl") || fileName.endsWith(".dsi"))
|
||||
{
|
||||
emuThread->emuPause();
|
||||
loadROM(fileName);
|
||||
|
Reference in New Issue
Block a user