mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix most ARM warnings
This commit is contained in:
@ -40,7 +40,7 @@ namespace DriverDetails
|
||||
switch(m_vendor)
|
||||
{
|
||||
case VENDOR_QUALCOMM:
|
||||
for (int a = 0; a < (sizeof(m_qualcommbugs) / sizeof(BugInfo)); ++a)
|
||||
for (unsigned int a = 0; a < (sizeof(m_qualcommbugs) / sizeof(BugInfo)); ++a)
|
||||
m_bugs[std::make_pair(m_vendor, m_qualcommbugs[a].m_bug)] = m_qualcommbugs[a];
|
||||
break;
|
||||
default:
|
||||
@ -61,7 +61,7 @@ namespace DriverDetails
|
||||
it->second.m_hasbug = true;
|
||||
}
|
||||
|
||||
const bool HasBug(Bug bug)
|
||||
bool HasBug(Bug bug)
|
||||
{
|
||||
auto it = m_bugs.find(std::make_pair(m_vendor, bug));
|
||||
if (it == m_bugs.end())
|
||||
|
@ -68,5 +68,5 @@ namespace DriverDetails
|
||||
void Init(Vendor vendor, const u32 devfamily, const double version);
|
||||
|
||||
// Once Vendor and driver version is set, this will return if it has the applicable bug passed to it.
|
||||
const bool HasBug(Bug bug);
|
||||
bool HasBug(Bug bug);
|
||||
}
|
||||
|
Reference in New Issue
Block a user