mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-19 06:45:39 +00:00
Tidy up SystemBootParameters constructors
This commit is contained in:
parent
c47dceffb5
commit
2d90cfc07e
|
@ -41,14 +41,9 @@ Log_SetChannel(System);
|
|||
|
||||
SystemBootParameters::SystemBootParameters() = default;
|
||||
|
||||
SystemBootParameters::SystemBootParameters(std::string filename_) : filename(filename_) {}
|
||||
SystemBootParameters::SystemBootParameters(SystemBootParameters&& other) = default;
|
||||
|
||||
SystemBootParameters::SystemBootParameters(const SystemBootParameters& copy)
|
||||
: filename(copy.filename), override_fast_boot(copy.override_fast_boot), override_fullscreen(copy.override_fullscreen)
|
||||
{
|
||||
// only exists for qt, we can't copy the state stream
|
||||
Assert(!copy.state_stream);
|
||||
}
|
||||
SystemBootParameters::SystemBootParameters(std::string filename_) : filename(std::move(filename_)) {}
|
||||
|
||||
SystemBootParameters::~SystemBootParameters() = default;
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ class CheatList;
|
|||
struct SystemBootParameters
|
||||
{
|
||||
SystemBootParameters();
|
||||
SystemBootParameters(SystemBootParameters&& other);
|
||||
SystemBootParameters(std::string filename_);
|
||||
SystemBootParameters(const SystemBootParameters& copy);
|
||||
~SystemBootParameters();
|
||||
|
||||
std::string filename;
|
||||
|
|
Loading…
Reference in a new issue