mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 14:58:22 -04:00
spl: update for new-ipc (fixes two bugs in sf)
This commit is contained in:
parent
59140d8dfa
commit
635ae4e3da
23 changed files with 377 additions and 311 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
namespace sts::spl {
|
||||
|
||||
class RandomService final : public IServiceObject {
|
||||
class RandomService final : public sf::IServiceObject {
|
||||
protected:
|
||||
enum class CommandId {
|
||||
GenerateRandomBytes = 0,
|
||||
|
@ -31,10 +31,10 @@ namespace sts::spl {
|
|||
virtual ~RandomService() { /* ... */ }
|
||||
private:
|
||||
/* Actual commands. */
|
||||
virtual Result GenerateRandomBytes(OutBuffer<u8> out);
|
||||
virtual Result GenerateRandomBytes(const sf::OutBuffer &out);
|
||||
public:
|
||||
DEFINE_SERVICE_DISPATCH_TABLE {
|
||||
MAKE_SERVICE_COMMAND_META(RandomService, GenerateRandomBytes),
|
||||
MAKE_SERVICE_COMMAND_META(GenerateRandomBytes),
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue