Simplify SideShow GUID compares via a macro.
This commit is contained in:
1 parent
86819ba9d8
commit
bf50959b80
3 files changed
+7
-5
No files matched your search
@@ -63,7 +63,7 @@ SideShow_Application_t* SideShow_GetApplicationFromGUID(GUID_t* GUID)
|
||||
{
|
||||
if (InstalledApplications[App].InUse)
|
||||
{
|
||||
if (memcmp(&InstalledApplications[App].ApplicationID, GUID, sizeof(GUID_t)) == 0)
|
||||
if (GUID_COMPARE(&InstalledApplications[App].ApplicationID, GUID))
|
||||
return &InstalledApplications[App];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user