Refactored out the horrible static var in CoreTiming
This commit is contained in:
parent
917d651a3c
commit
4aab38f133
6 changed files with 15 additions and 11 deletions
|
@ -61,6 +61,11 @@ Kernel::KernelSystem& Global() {
|
|||
return System::GetInstance().Kernel();
|
||||
}
|
||||
|
||||
template <>
|
||||
Core::Timing& Global() {
|
||||
return System::GetInstance().CoreTiming();
|
||||
}
|
||||
|
||||
System::~System() = default;
|
||||
|
||||
System::ResultStatus System::RunLoop(bool tight_loop) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue