Fix sega core(s)

This commit is contained in:
Ethan O'Brien 2023-07-04 22:01:04 -05:00
parent ae18b361c2
commit dc8aa61056
3 changed files with 2 additions and 3 deletions

View file

@ -23,7 +23,7 @@ class EmulatorJS {
'virtualjaguar': 'jaguar',
'handy': 'lynx',
'yabause': 'segaSaturn', //NOT WORKING
'genesis_plus_gx': 'uh oh',//MS, MD, GG, CD... which do we return? //NOT WORKING
'genesis_plus_gx': 'uh oh',//MS, MD, GG, CD... which do we return?
'fceumm': 'nes',
'snes9x': 'snes',
'a5200': 'atari5200',

View file

@ -90,7 +90,7 @@ class EJS_STORAGE {
return new Promise(async (resolve, reject) => {
if (!window.indexedDB) resolve({});
const keys = await this.get("?EJS_KEYS!");
if (!keys) resolve({});
if (!keys) return resolve({});
let rv = {};
for (let i=0; i<keys.length; i++) {
const result = await this.get(keys[i]);

View file

@ -1,7 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8832864985153925" crossorigin="anonymous"></script>
<title>EmulatorJS</title>
<link rel = icon href = docs/favicon.ico sizes = "16x16 32x32 48x48 64x64" type = image/vnd.microsoft.icon>