fix: Require threads for dosbox_pure core

As implemented in EmulatorJS.org:
https://github.com/EmulatorJS/EmulatorJS/blob/f679b265e9104b9038cc664e00a6840b47df191c/data/src/emulator.js#L47
This commit is contained in:
Michael Manganiello committed 2025-07-05 14:12:36 -03:00
1 parent 346c24e66e
commit 7f2ab9ed63
2 files changed
+2 -2

No files matched your search

+1 -1
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");
@@ -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();