From 8b018bdc49463e559f636100a72b19042f5f3703 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Mon, 5 Sep 2022 01:37:33 -0300 Subject: [PATCH] fix: update GpioData extern union u4's are no longer supported in extern unions :\ --- src/core/bus/GamePak.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/bus/GamePak.zig b/src/core/bus/GamePak.zig index 0908ee3..3193e05 100644 --- a/src/core/bus/GamePak.zig +++ b/src/core/bus/GamePak.zig @@ -469,10 +469,10 @@ const Clock = struct { }; const GpioData = extern union { - sck: Bit(u4, 0), - sio: Bit(u4, 1), - cs: Bit(u4, 2), - raw: u4, + sck: Bit(u8, 0), + sio: Bit(u8, 1), + cs: Bit(u8, 2), + raw: u8, }; const Control = extern union {