mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
remove cast spaces
This commit is contained in:
parent
7fcbeb42ad
commit
960b9aca3b
@ -407,7 +407,7 @@ Result hiddbgIsHdlsVirtualDeviceAttached(u64 HdlsHandle, bool *isAttached)
|
||||
if (isAttached) {
|
||||
*isAttached = false;
|
||||
if (hosversionBefore(9,0,0)) {
|
||||
HiddbgHdlsStateListV7 *stateList = (HiddbgHdlsStateListV7 *)(g_hiddbgHdlsTmem.src_addr);
|
||||
HiddbgHdlsStateListV7 *stateList = (HiddbgHdlsStateListV7*)(g_hiddbgHdlsTmem.src_addr);
|
||||
for (s32 i = 0; i < stateList->total_entries; i++) {
|
||||
if (stateList->entries[i].HdlsHandle == HdlsHandle) {
|
||||
*isAttached = true;
|
||||
@ -416,7 +416,7 @@ Result hiddbgIsHdlsVirtualDeviceAttached(u64 HdlsHandle, bool *isAttached)
|
||||
}
|
||||
}
|
||||
else {
|
||||
HiddbgHdlsStateList *stateList = (HiddbgHdlsStateList *)(g_hiddbgHdlsTmem.src_addr);
|
||||
HiddbgHdlsStateList *stateList = (HiddbgHdlsStateList*)(g_hiddbgHdlsTmem.src_addr);
|
||||
for (s32 i = 0; i < stateList->total_entries; i++) {
|
||||
if (stateList->entries[i].HdlsHandle == HdlsHandle) {
|
||||
*isAttached = true;
|
||||
|
Loading…
Reference in New Issue
Block a user