mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2026-01-15 12:15:02 +00:00
This commit is contained in:
@@ -66,7 +66,7 @@ const useEmulator = ({
|
||||
loadedUrlRef.current = url;
|
||||
window.EJS_gameName = basename(url, extname(url));
|
||||
|
||||
const [console, { core = "", zip = false } = {}] = getCore(
|
||||
const [consoleName, { core = "", zip = false } = {}] = getCore(
|
||||
getExtension(url)
|
||||
);
|
||||
const rom = await readFile(url);
|
||||
@@ -117,7 +117,7 @@ const useEmulator = ({
|
||||
|
||||
await loadFiles(libs, undefined, true);
|
||||
|
||||
prependFileToTitle(`${window.EJS_gameName} (${console})`);
|
||||
prependFileToTitle(`${window.EJS_gameName} (${consoleName})`);
|
||||
}, [
|
||||
containerRef,
|
||||
createSnapshot,
|
||||
|
||||
Reference in New Issue
Block a user