headless: Avoid empty string compares for mountIso.

This commit is contained in:
Henrik Rydgård authored and Unknown W. Brackets committed 2021-05-09 17:24:04 -07:00
1 parent 939dd200c3
commit a40bb2eaa1
5 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -239,7 +239,7 @@ bool CPU_Init() {
IdentifiedFileType type = Identify_File(loadedFile);
// TODO: Put this somewhere better?
if (coreParameter.mountIso != "") {
if (!coreParameter.mountIso.empty()) {
coreParameter.mountIsoLoader = ConstructFileLoader(coreParameter.mountIso);
}