mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-28 07:47:02 -05:00
patterns: Fixed a few errors
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
/*!
|
||||
Library for doing raw memory accesses and other low-level operations.
|
||||
*/
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#pragma MIME application/x-dmp
|
||||
|
||||
import type.time;
|
||||
import type/types.win32;
|
||||
import type.types.win32;
|
||||
import type.size;
|
||||
|
||||
using RVA = ULONG32;
|
||||
|
||||
@@ -138,12 +138,12 @@ struct DeviceDescriptor {
|
||||
if (bDeviceClass == InterfaceClass::Hub) {
|
||||
HubInterfaceSubClass bDeviceSubClass;
|
||||
if (bDeviceSubClass == HubInterfaceSubClass::Hub)
|
||||
HubInterfaceProtocol bDeviceSubClass;
|
||||
HubInterfaceProtocol bDeviceSubClassProtocol;
|
||||
else
|
||||
u8 bDeviceSubClass;
|
||||
u8 bDeviceSubClassProtocol;
|
||||
} else if (bDeviceClass == InterfaceClass::AudioVideoDevice) {
|
||||
AudioVideoDeviceSubClass bDeviceSubClass;
|
||||
u8 bDeviceSubClass;
|
||||
u8 bDeviceSubClassProtocol;
|
||||
} else {
|
||||
u8 bDeviceSubClass;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user