Switching to premake. Probably with disasterous consequences.
This commit is contained in:
46
src/xenia/base/debug_visualizers.natvis
Normal file
46
src/xenia/base/debug_visualizers.natvis
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
|
||||
<!-- Automatically convert endianness for xe::be -->
|
||||
<Type Name="xe::be<unsigned int>">
|
||||
<DisplayString>
|
||||
{(((value & 0xFF000000) >> 24) |
|
||||
((value & 0x00FF0000) >> 8) |
|
||||
((value & 0x0000FF00) << 8) |
|
||||
((value & 0x000000FF) << 24))}
|
||||
</DisplayString>
|
||||
</Type>
|
||||
<Type Name="xe::be<int>">
|
||||
<DisplayString>
|
||||
{(((value & 0xFF000000) >> 24) |
|
||||
((value & 0x00FF0000) >> 8) |
|
||||
((value & 0x0000FF00) << 8) |
|
||||
((value & 0x000000FF) << 24))}
|
||||
</DisplayString>
|
||||
</Type>
|
||||
|
||||
<Type Name="xe::be<unsigned short>">
|
||||
<DisplayString>
|
||||
{(((value & 0xFF00) >> 8) |
|
||||
((value & 0x00FF) << 8))}
|
||||
</DisplayString>
|
||||
</Type>
|
||||
<Type Name="xe::be<short>">
|
||||
<DisplayString>
|
||||
{(((value & 0xFF00) >> 8) |
|
||||
((value & 0x00FF) << 8))}
|
||||
</DisplayString>
|
||||
</Type>
|
||||
|
||||
<Type Name="xe::be<unsigned char>">
|
||||
<DisplayString>
|
||||
{value}
|
||||
</DisplayString>
|
||||
</Type>
|
||||
<Type Name="xe::be<char>">
|
||||
<DisplayString>
|
||||
{value}
|
||||
</DisplayString>
|
||||
</Type>
|
||||
|
||||
</AutoVisualizer>
|
||||
Reference in New Issue
Block a user