shithub: orca

Download patch

ref: 21b0a0aa166fdd2aa5060047ac1ecb68c8915319
parent: eaef5482d5f32759d58a4d074cad6e70e5051f6d
author: cancel <cancel@cancel.fm>
date: Tue Dec 31 10:03:52 EST 2019

Fix cli tool build error.

random_seed was never added as an argument.

It should have been added in:
2fee3a706bfe582c872a18360d16946329846584
but it wasn't.

--- a/cli_main.c
+++ b/cli_main.c
@@ -104,7 +104,7 @@
   Usz max_ticks = (Usz)ticks;
   for (Usz i = 0; i < max_ticks; ++i) {
     orca_run(field.buffer, mbuf_r.buffer, field.height, field.width, i,
-             &oevent_list, ORCA_PIANO_BITS_NONE);
+             &oevent_list, ORCA_PIANO_BITS_NONE, 0);
   }
   mbuf_reusable_deinit(&mbuf_r);
   oevent_list_deinit(&oevent_list);