mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-21 22:17:53 -05:00
csrng: Use std::mt19937 engine for random number generation
This commit is contained in:
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user