Qt: Implement context menu in game list

This commit is contained in:
Connor McLaughlin
2020-03-02 11:08:16 +10:00
parent 0c40903f74
commit 69f03959aa
12 changed files with 305 additions and 91 deletions

View File

@ -28,11 +28,21 @@ class SPU;
class MDEC;
class SIO;
struct SystemBootParameters
{
SystemBootParameters();
SystemBootParameters(std::string filename_);
~SystemBootParameters();
std::string filename;
std::optional<bool> override_fast_boot;
};
class System
{
public:
friend TimingEvent;
public:
~System();
/// Creates a new System.
@ -75,7 +85,7 @@ public:
float GetAverageFrameTime() const { return m_average_frame_time; }
float GetWorstFrameTime() const { return m_worst_frame_time; }
bool Boot(const char* filename);
bool Boot(const SystemBootParameters& params);
void Reset();
bool LoadState(ByteStream* state);