service: Eliminate usages of the global system instance

Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
This commit is contained in:
Lioncash 2020-11-26 15:19:08 -05:00
parent 322349e8cc
commit 1a954b2a59
222 changed files with 1221 additions and 907 deletions

View file

@ -7,8 +7,8 @@
#include <functional>
#include <string>
namespace Service::SM {
class ServiceManager;
namespace Core {
class System;
}
namespace Service::Yuzu {
@ -19,7 +19,7 @@ struct TestResult {
std::string name;
};
void InstallInterfaces(SM::ServiceManager& sm, std::string data,
void InstallInterfaces(Core::System& system, std::string data,
std::function<void(std::vector<TestResult>)> finish_callback);
} // namespace Service::Yuzu