nestadia icon indicating copy to clipboard operation
nestadia copied to clipboard

Add a method to randomize the initial RAM

Open zer0x64 opened this issue 3 years ago • 0 comments

Multiple games uses the initial RAM content to seed their RNGs. We should allow to randomize the content of the RAM.

There are multiple ways to do it. We could add rand as a default feature and randomize the RAM when created if the feature is present, or add a randomize_ram() method on the emulator that takes a Rng as an argument. We need to make sure that this does not break portability however.

zer0x64 avatar Jul 06 '21 22:07 zer0x64