From cbb38db09c146bcc3bb1e1b56eade49be8d7c0f1 Mon Sep 17 00:00:00 2001 From: MonsterDruide1 <5958456@gmail.com> Date: Mon, 11 May 2026 23:51:30 +0200 Subject: [PATCH] nfp: Fix type of `DeviceHandle` --- include/nn/nfp/nfp.h | 7 ++----- include/nn/nfp/nfp_types.h | 4 +++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/include/nn/nfp/nfp.h b/include/nn/nfp/nfp.h index ec041618..9e3e857b 100644 --- a/include/nn/nfp/nfp.h +++ b/include/nn/nfp/nfp.h @@ -8,19 +8,16 @@ struct SystemEventType; namespace nn::nfp { -struct DeviceHandle { - u64 m_Id; -}; - enum State : u32; enum DeviceState : u32; enum ModelType : u32; enum MountTarget : u32; -struct TagInfo; struct CommonInfo; +struct DeviceHandle; struct ModelInfo; struct RegisterInfo; +struct TagInfo; Result Initialize(); Result Finalize(); diff --git a/include/nn/nfp/nfp_types.h b/include/nn/nfp/nfp_types.h index a332002c..0b9acdb3 100644 --- a/include/nn/nfp/nfp_types.h +++ b/include/nn/nfp/nfp_types.h @@ -4,7 +4,9 @@ namespace nn::nfp { -using DeviceHandle = u64; +struct DeviceHandle { + u64 m_Id; +}; const s32 AmiiboNameLength = 10;