Skip to content

Commit

Permalink
- fixed debugger visualization for FSoundID
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 10, 2019
1 parent 3cb571c commit 194dd3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/win32/zdoom.natvis
Expand Up @@ -76,8 +76,9 @@
</Type>

<Type Name="FSoundID">
<DisplayString Condition="soundEngine == nullptr">&lt;No Sound Engine&gt;</DisplayString>
<DisplayString Condition="ID == 0">&lt;None&gt;</DisplayString>
<DisplayString Condition="ID != 0">{S_sfx[ID].name}</DisplayString>
<DisplayString Condition="ID != 0">{soundEngine->S_sfx[ID].name}</DisplayString>
</Type>

</AutoVisualizer>

0 comments on commit 194dd3e

Please sign in to comment.