From b6973d63663c1caa5ff0fa1bc2272ab4ecb70c0a Mon Sep 17 00:00:00 2001 From: cathery Date: Thu, 7 Nov 2019 20:30:33 +0300 Subject: [PATCH] use correct for style --- nx/source/services/hiddbg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx/source/services/hiddbg.c b/nx/source/services/hiddbg.c index baceb53c..2706a322 100644 --- a/nx/source/services/hiddbg.c +++ b/nx/source/services/hiddbg.c @@ -408,7 +408,7 @@ Result hiddbgIsHdlsVirtualDeviceAttached(u64 HdlsHandle, bool *isAttached) *isAttached = false; if (hosversionBefore(9,0,0)) { HiddbgHdlsStateListV7 *stateList = (HiddbgHdlsStateListV7*)(g_hiddbgHdlsTmem.src_addr); - for (s32 i = 0; i < stateList->total_entries; i++) { + for (s32 i=0; i total_entries; i++) { if (stateList->entries[i].HdlsHandle == HdlsHandle) { *isAttached = true; break; @@ -417,7 +417,7 @@ Result hiddbgIsHdlsVirtualDeviceAttached(u64 HdlsHandle, bool *isAttached) } else { HiddbgHdlsStateList *stateList = (HiddbgHdlsStateList*)(g_hiddbgHdlsTmem.src_addr); - for (s32 i = 0; i < stateList->total_entries; i++) { + for (s32 i=0; i total_entries; i++) { if (stateList->entries[i].HdlsHandle == HdlsHandle) { *isAttached = true; break;