mirror of
https://github.com/GamingShitposting/SalaMuseoGames
synced 2025-06-05 21:59:30 +02:00
Switch 2023-12-16-mario-kart-ds to dedicated NDS emu
This commit is contained in:
@@ -17,7 +17,9 @@ author: "octobot"
|
|||||||
software_data:
|
software_data:
|
||||||
platform : nds
|
platform : nds
|
||||||
core : desmume
|
core : desmume
|
||||||
|
backend : standalone
|
||||||
rom_index : MARIOKARTDS-A39J01.nds
|
rom_index : MARIOKARTDS-A39J01.nds
|
||||||
|
rom_url : https://octospacc.gitlab.io/Web-Archives-Misc/Repo/DeSmuME/#RomUrl=https://octospacc.gitlab.io/ROMs-Archive-Misc/MARIOKARTDS-A39J01.nds
|
||||||
release :
|
release :
|
||||||
region : Japan
|
region : Japan
|
||||||
source : official
|
source : official
|
||||||
|
@@ -27,7 +27,19 @@
|
|||||||
document.body.appendChild(scriptElement);
|
document.body.appendChild(scriptElement);
|
||||||
break;
|
break;
|
||||||
case 'standalone':
|
case 'standalone':
|
||||||
thisElement.outerHTML = `<iframe id="software-embed-frame" src=""></iframe>`;
|
var frameUrl = '';
|
||||||
|
if (platform === 'nds' || core === 'desmume') {
|
||||||
|
frameUrl = `https://octospacc.gitlab.io/Web-Archives-Misc/Repo/DeSmuME/#RomUrl=${romUrl}`;
|
||||||
|
}
|
||||||
|
else if (platform === 'dos') {
|
||||||
|
frameUrl = `https://gamingshitposting.github.io/ext-bin-1/dos.zone/${data.rom_index}/index.html`;
|
||||||
|
}
|
||||||
|
thisElement.outerHTML = `
|
||||||
|
<button onclick="(function(ctx){
|
||||||
|
ctx.parentElement.scrollIntoView();
|
||||||
|
ctx.parentElement.querySelector('iframe#software-embed-frame').focus();
|
||||||
|
})(this)">Focus</button>
|
||||||
|
<iframe id="software-embed-frame" src="${frameUrl}"></iframe>`;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
})();
|
})();
|
Reference in New Issue
Block a user