From 7f2ab9ed63b0ebdcaf01aa53d25546d74a2d2028 Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Sat, 5 Jul 2025 14:12:36 -0300 Subject: [PATCH] fix: Require threads for dosbox_pure core As implemented in EmulatorJS.org: https://github.com/EmulatorJS/EmulatorJS/blob/f679b265e9104b9038cc664e00a6840b47df191c/data/src/emulator.js#L47 --- frontend/src/utils/index.ts | 2 +- frontend/src/views/Player/EmulatorJS/Base.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/utils/index.ts b/frontend/src/utils/index.ts index 7e3ceb7a5..f1cb3bcb9 100644 --- a/frontend/src/utils/index.ts +++ b/frontend/src/utils/index.ts @@ -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"); diff --git a/frontend/src/views/Player/EmulatorJS/Base.vue b/frontend/src/views/Player/EmulatorJS/Base.vue index 65fa9f85d..3c50766b8 100644 --- a/frontend/src/views/Player/EmulatorJS/Base.vue +++ b/frontend/src/views/Player/EmulatorJS/Base.vue @@ -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();