mirror of
https://github.com/DPS2004/gba.git
synced 2025-01-22 20:40:32 -03:00
fixups
This commit is contained in:
parent
df9799a72d
commit
4f23625340
1 changed files with 5 additions and 4 deletions
|
@ -175,10 +175,6 @@ var IodineGUI = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
window.onload = function () {
|
window.onload = function () {
|
||||||
if (!games[location.hash.substr(1)]) {
|
|
||||||
alert("Invalid game request!");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
//Populate settings:
|
//Populate settings:
|
||||||
registerDefaultSettings();
|
registerDefaultSettings();
|
||||||
//Initialize Iodine:
|
//Initialize Iodine:
|
||||||
|
@ -195,6 +191,10 @@ window.onload = function () {
|
||||||
registerGUIEvents();
|
registerGUIEvents();
|
||||||
//Register GUI settings.
|
//Register GUI settings.
|
||||||
registerGUISettings();
|
registerGUISettings();
|
||||||
|
if (!games[location.hash.substr(1)]) {
|
||||||
|
alert("Invalid game request!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
//Download the BIOS:
|
//Download the BIOS:
|
||||||
downloadBIOS();
|
downloadBIOS();
|
||||||
}
|
}
|
||||||
|
@ -212,6 +212,7 @@ function downloadROM(gamename) {
|
||||||
function registerROM() {
|
function registerROM() {
|
||||||
clearTempString();
|
clearTempString();
|
||||||
processDownload(this, attachROM);
|
processDownload(this, attachROM);
|
||||||
|
IodineGUI.Iodine.play();
|
||||||
}
|
}
|
||||||
function registerIodineHandler() {
|
function registerIodineHandler() {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue