diff options
| author | NeoBrainX <NeoBrainX@gmail.com> | 2012-08-26 20:25:00 +0200 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@gmail.com> | 2012-08-26 20:26:10 +0200 |
| commit | 87d8feb53df8499e61096e4df022d00e25edb3c3 (patch) | |
| tree | 1b5ee2d25a5e63a38aa10daff4f34b7042d15b20 /Source/Plugins/Plugin_VideoSoftware | |
| parent | 4607ebea2ad5fb472a53d5772af0c395c6f73810 (diff) | |
Video_Software: Add some debugging logs for PE perf queries
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp index 525b39b0b6..9ae13d4e3b 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp @@ -79,6 +79,11 @@ void Read16(u16& _uReturnValue, const u32 _iAddress) if (address <= 0x2e) _uReturnValue = ((u16*)&pereg)[address >> 1]; + + if (address > 0x16) + { + ERROR_LOG(PIXELENGINE, "Read from address %#08x, returning %#08x\n", address, _uReturnValue); + } } void Write32(const u32 _iValue, const u32 _iAddress) |
