diff options
| author | NeoBrainX <NeoBrainX@googlemail.com> | 2010-11-29 16:16:48 +0000 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@googlemail.com> | 2010-11-29 16:16:48 +0000 |
| commit | 8d123adf6403510a7ab7e63f62e85117ef6b4eea (patch) | |
| tree | c2ff6ec6ba59db9c3fcd7ff69548c7a3cf30f171 /Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp | |
| parent | 40c4e5f9a7813cd39802b4a730941f9aec4cae57 (diff) | |
DX9 debugger improvements:
- Fix "Pause at next" functionality for pixel/vertex shader changes, finished frames and texture changes.
- Implement dumping vertex declaration and vertex/index data.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6496 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp index 4732c58631..55247939de 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp @@ -352,6 +352,8 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) } #endif delete [] bytecode; + + DEBUGGER_PAUSE_AT(NEXT_PIXEL_SHADER_CHANGE,true); return result; } @@ -381,12 +383,12 @@ bool PixelShaderCache::InsertByteCode(const PIXELSHADERUID &uid, const u8 *bytec } -#if defined(_DEBUG) || defined(DEBUGFAST) std::string PixelShaderCache::GetCurrentShaderCode() { +#if defined(_DEBUG) || defined(DEBUGFAST) if (last_entry) return last_entry->code; else - return "(no shader)\n"; -} #endif + return "(not available)\n"; +} |
