mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
Fixed 'random' number generator.
This commit is contained in:
parent
4bb70e7d31
commit
7d8d1c7828
@ -36,7 +36,7 @@ class CartridgePitfall2: public Cartridge<CartridgePitfall2> {
|
||||
}
|
||||
random_number_generator_ = (uint8_t)(
|
||||
(random_number_generator_ << 1) |
|
||||
~(( (random_number_generator_ >> 7) ^
|
||||
(~( (random_number_generator_ >> 7) ^
|
||||
(random_number_generator_ >> 5) ^
|
||||
(random_number_generator_ >> 4) ^
|
||||
(random_number_generator_ >> 3)
|
||||
|
Loading…
Reference in New Issue
Block a user