mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 00:17:56 +00:00
nv_services: Deglobalize NvServices
This commit is contained in:
parent
78c4536960
commit
531e3431fb
23 changed files with 65 additions and 51 deletions
|
@ -12,6 +12,10 @@
|
|||
#include "core/hle/service/nvdrv/nvdata.h"
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Core {
|
||||
class System;
|
||||
}
|
||||
|
||||
namespace Service::NVFlinger {
|
||||
class NVFlinger;
|
||||
}
|
||||
|
@ -66,7 +70,7 @@ struct EventsInterface {
|
|||
|
||||
class Module final {
|
||||
public:
|
||||
Module();
|
||||
Module(Core::System& system);
|
||||
~Module();
|
||||
|
||||
/// Returns a pointer to one of the available devices, identified by its name.
|
||||
|
@ -103,6 +107,7 @@ private:
|
|||
};
|
||||
|
||||
/// Registers all NVDRV services with the specified service manager.
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager, NVFlinger::NVFlinger& nvflinger);
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager, NVFlinger::NVFlinger& nvflinger,
|
||||
Core::System& system);
|
||||
|
||||
} // namespace Service::Nvidia
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue