diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2016-06-13 20:53:13 -0400 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2016-06-13 20:53:13 -0400 |
| commit | 68a2cca843b109bb84f8479e76bd2aea869ab48d (patch) | |
| tree | 280e90864b94fc069014c31a5409ecfc966281b5 /apps/plugins | |
| parent | 10e7f6a4b5a2d5044787a748aaa5107b7dfe9ae5 (diff) | |
| parent | 699b945927f83ee97a33c48028b4ba48f210999d (diff) | |
| download | rockbox-68a2cca843b109bb84f8479e76bd2aea869ab48d.zip rockbox-68a2cca843b109bb84f8479e76bd2aea869ab48d.tar.gz rockbox-68a2cca843b109bb84f8479e76bd2aea869ab48d.tar.bz2 rockbox-68a2cca843b109bb84f8479e76bd2aea869ab48d.tar.xz | |
Merge branch 'xworld_deterministic' into working
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/xworld/vm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/xworld/vm.c b/apps/plugins/xworld/vm.c index de632d7..76b2383 100644 --- a/apps/plugins/xworld/vm.c +++ b/apps/plugins/xworld/vm.c @@ -52,7 +52,8 @@ void vm_init(struct VirtualMachine* m) { rb->memset(m->vmVariables, 0, sizeof(m->vmVariables)); m->vmVariables[0x54] = 0x81; - m->vmVariables[VM_VARIABLE_RANDOM_SEED] = *rb->current_tick; + /* constant seed for code wheel */ + m->vmVariables[VM_VARIABLE_RANDOM_SEED] = 0; m->_fastMode = false; m->player->_markVar = &m->vmVariables[VM_VARIABLE_MUS_MARK]; |