repo.or.cz
/
lsnes.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lsnes rr2-β24
[lsnes.git]
/
src
/
emulation
/
sky
/
random.hpp
blob
47490afeed359d9a1a98c3959c63cce49633ada2
1
#ifndef _sky__random__hpp__included__
2
#define _sky__random__hpp__included__
3
4
#include <cstdint>
5
6
namespace
sky
7
{
8
struct
random
9
{
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
];
18
};
19
}
20
21
#endif