mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +00:00
Video_Software: Fix a small issue that prevented perf queries from working at all.
This commit is contained in:
parent
1c1ae63b69
commit
4607ebea2a
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ void Read16(u16& _uReturnValue, const u32 _iAddress)
|
||||||
|
|
||||||
u16 address = _iAddress & 0xFFF;
|
u16 address = _iAddress & 0xFFF;
|
||||||
|
|
||||||
if (address <= 0x16)
|
if (address <= 0x2e)
|
||||||
_uReturnValue = ((u16*)&pereg)[address >> 1];
|
_uReturnValue = ((u16*)&pereg)[address >> 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ void Write16(const u16 _iValue, const u32 _iAddress)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (address <= 0x16)
|
if (address <= 0x2e)
|
||||||
((u16*)&pereg)[address >> 1] = _iValue;
|
((u16*)&pereg)[address >> 1] = _iValue;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue