lsnes rr2-β24
[lsnes.git] / src / emulation / sky / random.hpp
blob47490afeed359d9a1a98c3959c63cce49633ada2
1 #ifndef _sky__random__hpp__included__
2 #define _sky__random__hpp__included__
4 #include <cstdint>
6 namespace sky
8 struct random
10 public:
11 random();
12 void push(uint32_t x);
13 uint32_t pull();
14 private:
15 void init();
16 bool initialized;
17 uint8_t state[32];
21 #endif