summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-11-11 22:34:23 -0500
committerGravatar Zach Hilman2018-11-11 23:09:46 -0500
commit2a16fd7ffc1ec4e2dc90480c04f9867fdeec6a98 (patch)
tree682a2fc1751f8628d07f2caf3a2b34f7a1c39b52 /src/core
parentcsrng: Use std::mt19937 engine for random number generation (diff)
downloadyuzu-2a16fd7ffc1ec4e2dc90480c04f9867fdeec6a98.tar.gz
yuzu-2a16fd7ffc1ec4e2dc90480c04f9867fdeec6a98.tar.xz
yuzu-2a16fd7ffc1ec4e2dc90480c04f9867fdeec6a98.zip
settings: Add config option to set RNG seed
Diffstat (limited to 'src/core')
-rw-r--r--src/core/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index a8954647f..83a1a7069 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -6,6 +6,7 @@
6 6
7#include <array> 7#include <array>
8#include <atomic> 8#include <atomic>
9#include <optional>
9#include <string> 10#include <string>
10#include "common/common_types.h" 11#include "common/common_types.h"
11 12
@@ -114,6 +115,7 @@ struct Values {
114 // System 115 // System
115 bool use_docked_mode; 116 bool use_docked_mode;
116 bool enable_nfc; 117 bool enable_nfc;
118 std::optional<u64> rng_seed;
117 s32 current_user; 119 s32 current_user;
118 s32 language_index; 120 s32 language_index;
119 121