mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 14:25:45 +00:00
Service/spl: add module and services
This commit is contained in:
parent
ec5ede68e7
commit
95e747cd06
10 changed files with 176 additions and 0 deletions
18
src/core/hle/service/spl/csrng.cpp
Normal file
18
src/core/hle/service/spl/csrng.cpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Copyright 2018 yuzu emulator team
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "core/hle/service/spl/csrng.h"
|
||||
|
||||
namespace Service {
|
||||
namespace SPL {
|
||||
|
||||
CSRNG::CSRNG(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "csrng") {
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, &CSRNG::GetRandomBytes, "GetRandomBytes"},
|
||||
};
|
||||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
} // namespace SPL
|
||||
} // namespace Service
|
Loading…
Add table
Add a link
Reference in a new issue