Move controller creation to System class, switch shared_ptr to unique_ptr
This commit is contained in:
parent
5fd421860a
commit
ea0845d5ad
14 changed files with 56 additions and 47 deletions
|
|
@ -66,7 +66,6 @@ bool HostInterface::BootSystem(const char* filename, const char* state_filename)
|
|||
return false;
|
||||
|
||||
m_paused = m_settings.start_paused;
|
||||
ConnectControllers();
|
||||
UpdateSpeedLimiterState();
|
||||
|
||||
if (state_filename && !LoadState(state_filename))
|
||||
|
|
@ -208,8 +207,6 @@ std::optional<std::vector<u8>> HostInterface::GetBIOSImage(ConsoleRegion region)
|
|||
return BIOS::LoadImageFromFile(m_settings.bios_path);
|
||||
}
|
||||
|
||||
void HostInterface::ConnectControllers() {}
|
||||
|
||||
void HostInterface::Throttle()
|
||||
{
|
||||
// Allow variance of up to 40ms either way.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue