mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Fix -Wsign-compare warnings.
This commit is contained in:
@ -616,7 +616,7 @@ enum TLBLookupResult
|
|||||||
|
|
||||||
static __forceinline TLBLookupResult LookupTLBPageAddress(const XCheckTLBFlag flag, const u32 vpa, u32 *paddr)
|
static __forceinline TLBLookupResult LookupTLBPageAddress(const XCheckTLBFlag flag, const u32 vpa, u32 *paddr)
|
||||||
{
|
{
|
||||||
int tag = vpa >> HW_PAGE_INDEX_SHIFT;
|
u32 tag = vpa >> HW_PAGE_INDEX_SHIFT;
|
||||||
PowerPC::tlb_entry *tlbe = &PowerPC::ppcState.tlb[flag == FLAG_OPCODE][tag & HW_PAGE_INDEX_MASK];
|
PowerPC::tlb_entry *tlbe = &PowerPC::ppcState.tlb[flag == FLAG_OPCODE][tag & HW_PAGE_INDEX_MASK];
|
||||||
if (tlbe->tag[0] == tag)
|
if (tlbe->tag[0] == tag)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user