csrng: Use std::mt19937 engine for random number generation

This commit is contained in:
Zach Hilman
2018-11-11 22:33:31 -05:00
parent 2c6efda235
commit 4b4f883aef
2 changed files with 11 additions and 2 deletions

View File

@ -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;
};
};