core: Eliminate remaining usages of the global system instance
Removes all remaining usages of the global system instance. After this, migration can begin to migrate to being constructed and managed entirely by the various frontends.
This commit is contained in:
parent
f397edff0e
commit
5bc4eabe36
21 changed files with 59 additions and 1594 deletions
|
@ -14,6 +14,10 @@
|
|||
#include "common/common_types.h"
|
||||
#include "input_common/settings.h"
|
||||
|
||||
namespace Core {
|
||||
class System;
|
||||
}
|
||||
|
||||
namespace Settings {
|
||||
|
||||
enum class RendererBackend {
|
||||
|
@ -247,11 +251,11 @@ float Volume();
|
|||
|
||||
std::string GetTimeZoneString();
|
||||
|
||||
void Apply();
|
||||
void Apply(Core::System& system);
|
||||
void LogSettings();
|
||||
|
||||
// Restore the global state of all applicable settings in the Values struct
|
||||
void RestoreGlobalState();
|
||||
void RestoreGlobalState(bool is_powered_on);
|
||||
|
||||
// Fixes settings that are known to cause issues with the emulator
|
||||
void Sanitize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue