mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
fix: Require threads for dosbox_pure core
As implemented in EmulatorJS.org:
f679b265e9/data/src/emulator.js (L47)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user