mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 18:08:20 -07:00
Add fallback for unknown CONFIG_BIOS names
This commit is contained in:
@@ -20319,7 +20319,7 @@ machine_get_nvr_name_ex(int m)
|
||||
|
||||
if (dev != NULL) {
|
||||
device_context(dev);
|
||||
const char *bios = device_get_config_string("bios");
|
||||
const char *bios = device_get_config_bios("bios");
|
||||
if ((bios != NULL) && (strcmp(bios, "") != 0))
|
||||
ret = bios;
|
||||
device_context_restore();
|
||||
|
||||
Reference in New Issue
Block a user