From 10e823a9d58b42ce49018cf61b3c02964ba72fb4 Mon Sep 17 00:00:00 2001 From: piepie62 Date: Mon, 24 Jun 2019 15:42:32 -0400 Subject: [PATCH] Use bitflags --- sysmodules/rosalina/source/menus/cheats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysmodules/rosalina/source/menus/cheats.c b/sysmodules/rosalina/source/menus/cheats.c index bcaca9a..635ddc9 100644 --- a/sysmodules/rosalina/source/menus/cheats.c +++ b/sysmodules/rosalina/source/menus/cheats.c @@ -45,9 +45,9 @@ typedef struct CheatProcessInfo typedef struct CheatDescription { - u32 active; - u32 valid; struct { + u8 active : 1; + u8 valid : 1; u8 hasKeyCode : 1; u8 activeStorage : 1; };