summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2012-08-26 20:21:51 +0200
committerNeoBrainX <NeoBrainX@gmail.com>2012-08-26 20:26:10 +0200
commit4607ebea2ad5fb472a53d5772af0c395c6f73810 (patch)
treecd1279b5d1cbdb17e300c3e3e288a0b5fb92d33d /Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp
parent1c1ae63b697fa5589772c92a78a635ef68f67f83 (diff)
Video_Software: Fix a small issue that prevented perf queries from working at all.
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp
index 33a6164b01..525b39b0b6 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp
@@ -77,7 +77,7 @@ void Read16(u16& _uReturnValue, const u32 _iAddress)
u16 address = _iAddress & 0xFFF;
- if (address <= 0x16)
+ if (address <= 0x2e)
_uReturnValue = ((u16*)&pereg)[address >> 1];
}
@@ -109,7 +109,7 @@ void Write16(const u16 _iValue, const u32 _iAddress)
}
break;
default:
- if (address <= 0x16)
+ if (address <= 0x2e)
((u16*)&pereg)[address >> 1] = _iValue;
break;
}