fix: Require threads for dosbox_pure core

As implemented in EmulatorJS.org:
f679b265e9/data/src/emulator.js (L47)
This commit is contained in:
Michael Manganiello
2025-07-05 14:12:36 -03:00
parent 346c24e66e
commit 7f2ab9ed63
2 changed files with 2 additions and 2 deletions

View File

@@ -443,7 +443,7 @@ export function getSupportedEJSCores(platformSlug: string): string[] {
* @returns True if threads are required, false otherwise.
*/
export function areThreadsRequiredForEJSCore(core: string): boolean {
return ["ppsspp"].includes(core);
return ["dosbox_pure", "ppsspp"].includes(core);
}
const canvas = document.createElement("canvas");

View File

@@ -22,7 +22,7 @@ import { getEmptyCoverImage } from "@/utils/covers";
import { useDisplay } from "vuetify";
import { storeToRefs } from "pinia";
const EMULATORJS_VERSION = "4.2.1";
const EMULATORJS_VERSION = "4.2.2";
// Props
const { t } = useI18n();