aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/spl/module.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-11-11 22:33:31 -0500
committerZach Hilman <zachhilman@gmail.com>2018-11-11 23:08:39 -0500
commit4b4f883aef8fbc4f8a8b6c842df61eb0d5253f45 (patch)
tree00d203262914bf2802558e5a99a3d6ac43cfef9d /src/core/hle/service/spl/module.h
parent2c6efda2352a1133a1091d2aa206b1f044b7642a (diff)
csrng: Use std::mt19937 engine for random number generation
Diffstat (limited to 'src/core/hle/service/spl/module.h')
-rw-r--r--src/core/hle/service/spl/module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/spl/module.h b/src/core/hle/service/spl/module.h
index 48fda6099..afa1f0295 100644
--- a/src/core/hle/service/spl/module.h
+++ b/src/core/hle/service/spl/module.h
@@ -4,6 +4,7 @@
#pragma once
+#include <random>
#include "core/hle/service/service.h"
namespace Service::SPL {
@@ -19,6 +20,9 @@ public:
protected:
std::shared_ptr<Module> module;
+
+ private:
+ std::mt19937 rng;
};
};