From b96d980a98f35a151e4ff0559f5711eb244f79dc Mon Sep 17 00:00:00 2001
From: Vicki Pfau <vi@endrift.com>
Date: Fri, 21 Jan 2022 20:56:43 -0800
Subject: [PATCH] Core: Passing -b should force-enable BIOS

---
 src/feature/commandline.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/feature/commandline.c b/src/feature/commandline.c
index 2d3f3e357..6cab35094 100644
--- a/src/feature/commandline.c
+++ b/src/feature/commandline.c
@@ -165,6 +165,7 @@ void applyArguments(const struct mArguments* args, struct mSubParser* subparser,
 	}
 	if (args->bios) {
 		mCoreConfigSetOverrideValue(config, "bios", args->bios);
+		mCoreConfigSetOverrideIntValue(config, "useBios", true);
 	}
 	HashTableEnumerate(&args->configOverrides, _tableApply, config);
 	if (subparser) {