From 2e3d924bc62a473d2fafca7c5265e1a9cfdb5dd0 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 14 Apr 2023 18:14:39 +1000 Subject: [PATCH] System: Fix crash when using unknown BIOS --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 2f7578d15..db2e4b8ee 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -1804,7 +1804,7 @@ bool System::LoadBIOS() if (s_bios_image_info) Log_InfoPrintf("Using BIOS: %s", s_bios_image_info->description); else - Log_WarningPrintf("Using an unknown BIOS: %s", s_bios_image_info->hash.ToString().c_str()); + Log_WarningPrintf("Using an unknown BIOS: %s", s_bios_hash.ToString().c_str()); std::memcpy(Bus::g_bios, bios_image->data(), Bus::BIOS_SIZE); return true;