System: Store BIOS image info/hash after loading

This commit is contained in:
Stenzek
2023-03-16 19:22:54 +10:00
parent 70695d3a4d
commit 1fcf16fc81
7 changed files with 66 additions and 24 deletions

View File

@ -19,6 +19,12 @@ class Controller;
struct CheatCode;
class CheatList;
namespace BIOS
{
struct ImageInfo;
struct Hash;
}
struct SystemBootParameters
{
SystemBootParameters();
@ -174,7 +180,10 @@ void IncrementInternalFrameNumber();
const std::string& GetRunningPath();
const std::string& GetRunningSerial();
const std::string& GetRunningTitle();
bool IsRunningBIOS();
const BIOS::ImageInfo* GetBIOSImageInfo();
const BIOS::Hash& GetBIOSHash();
// TODO: Move to PerformanceMetrics
static constexpr u32 NUM_FRAME_TIME_SAMPLES = 150;