mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00

Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
26 lines
506 B
C++
26 lines
506 B
C++
// Copyright 2019 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
#include <string>
|
|
|
|
namespace Core {
|
|
class System;
|
|
}
|
|
|
|
namespace Service::Yuzu {
|
|
|
|
struct TestResult {
|
|
u32 code;
|
|
std::string data;
|
|
std::string name;
|
|
};
|
|
|
|
void InstallInterfaces(Core::System& system, std::string data,
|
|
std::function<void(std::vector<TestResult>)> finish_callback);
|
|
|
|
} // namespace Service::Yuzu
|