mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_random_set_enabled (markdown)
parent
716c4052a6
commit
2fb7e63a21
|
@ -6,8 +6,12 @@ In `random.h`
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
TBD
|
When an emulator instance is [[initialized|Instance Allocation]] or [[reset|GB_reset]], SameBoy will use randomness to initialize the contents of the various RAM regions with realistic data. If you wish to force a more deterministic initial state, call `GB_random_set_enabled` with `false` to disable this behavior.
|
||||||
|
|
||||||
## Thread Safety
|
## Thread Safety
|
||||||
|
|
||||||
`GB_random_set_enabled` is thread-safe and can be called from any thread and context.
|
`GB_random_set_enabled` is thread-safe and can be called from any thread and context.
|
||||||
|
|
||||||
|
## See Also
|
||||||
|
|
||||||
|
* [[GB_random_seed]]
|
Loading…
Reference in New Issue