aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulien Dessaux2023-01-15 17:17:39 +0100
committerJulien Dessaux2023-01-15 17:17:39 +0100
commit510213bcf354b285d7bc5210e58fbe70f5c21932 (patch)
treedcad4d99f8b6b88f1c86e4d85179a493fc195e29 /src
parentAdded README (diff)
downloadgrenade-brothers-510213bcf354b285d7bc5210e58fbe70f5c21932.tar.gz
grenade-brothers-510213bcf354b285d7bc5210e58fbe70f5c21932.tar.bz2
grenade-brothers-510213bcf354b285d7bc5210e58fbe70f5c21932.zip
Zig 0.10 compatibility
Diffstat (limited to '')
-rw-r--r--src/inputs.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputs.zig b/src/inputs.zig
index 7a5e706..a2ab59e 100644
--- a/src/inputs.zig
+++ b/src/inputs.zig
@@ -6,7 +6,7 @@ const w4 = @import("wasm4.zig");
pub const Buttons = packed struct {
x: bool = false,
y: bool = false,
- _: u2,
+ _: u2 = 0,
left: bool = false,
right: bool = false,
up: bool = false,