mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-16 20:22:41 +00:00
core: Make System's default constructor private
This makes it a compilation error to construct additional instances of the System class directly, preventing accidental wasteful constructions over and over.
This commit is contained in:
@@ -168,6 +168,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
System();
|
||||
|
||||
/// Returns the currently running CPU core
|
||||
Cpu& CurrentCpuCore();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user