From 5725bbbe353d53112a917d2d187e4242b644968c Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 21 Oct 2022 05:12:59 -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 {