mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
[ROMM-1863] Set default bios file in config.yml
This commit is contained in:
@@ -212,6 +212,14 @@ onMounted(async () => {
|
||||
selectedCore.value = supportedCores.value[0];
|
||||
}
|
||||
|
||||
const coreOptions = configStore.getEJSCoreOptions(selectedCore.value);
|
||||
if (coreOptions["bios_file"]) {
|
||||
selectedFirmware.value =
|
||||
firmwareOptions.value.find(
|
||||
(f) => f.file_name === coreOptions["bios_file"],
|
||||
) ?? null;
|
||||
}
|
||||
|
||||
const storedBiosID = localStorage.getItem(
|
||||
`player:${rom.value.platform_slug}:bios_id`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user