From 1b4fa0f4c8e5f2d94916491a8d76cebb1fb2c59b Mon Sep 17 00:00:00 2001 From: Fexty12573 Date: Thu, 27 Jun 2024 16:33:46 +0200 Subject: [PATCH] Use enums where appropriate --- include/cell_actor.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/cell_actor.h b/include/cell_actor.h index 4a85c5ce4f..40e1e98663 100644 --- a/include/cell_actor.h +++ b/include/cell_actor.h @@ -98,7 +98,7 @@ struct CellActorCollection { typedef struct CellActorCollectionParams { int maxElements; NNSG2dRendererInstance *renderer; - int heapID; + enum HeapId heapID; } CellActorCollectionParams; typedef struct CellActorResourceData { @@ -119,8 +119,8 @@ typedef struct CellActorInitParams { const CellActorResourceData *resourceData; VecFx32 position; u32 priority; - int vramType; - int heapID; + NNS_G2D_VRAM_TYPE vramType; + enum HeapId heapID; } CellActorInitParams; typedef struct CellActorInitParamsEx { @@ -130,8 +130,8 @@ typedef struct CellActorInitParamsEx { VecFx32 affineScale; u16 affineZRotation; u32 priority; - int vramType; - int heapID; + NNS_G2D_VRAM_TYPE vramType; + enum HeapId heapID; } CellActorInitParamsEx;