diff options
Diffstat (limited to 'src/citra_qt/debugger/graphics_tracing.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_tracing.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_tracing.cpp b/src/citra_qt/debugger/graphics_tracing.cpp index e06498744..9c80f7ec9 100644 --- a/src/citra_qt/debugger/graphics_tracing.cpp +++ b/src/citra_qt/debugger/graphics_tracing.cpp | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | ||
| 6 | #include <array> | ||
| 7 | #include <iterator> | ||
| 5 | #include <memory> | 8 | #include <memory> |
| 6 | 9 | ||
| 7 | #include <boost/range/algorithm/copy.hpp> | 10 | #include <boost/range/algorithm/copy.hpp> |
| @@ -18,6 +21,7 @@ | |||
| 18 | 21 | ||
| 19 | #include "core/hw/gpu.h" | 22 | #include "core/hw/gpu.h" |
| 20 | #include "core/hw/lcd.h" | 23 | #include "core/hw/lcd.h" |
| 24 | #include "core/tracer/recorder.h" | ||
| 21 | 25 | ||
| 22 | #include "nihstro/float24.h" | 26 | #include "nihstro/float24.h" |
| 23 | 27 | ||
| @@ -70,7 +74,7 @@ void GraphicsTracingWidget::StartRecording() { | |||
| 70 | std::array<u32, 4 * 16> default_attributes; | 74 | std::array<u32, 4 * 16> default_attributes; |
| 71 | for (unsigned i = 0; i < 16; ++i) { | 75 | for (unsigned i = 0; i < 16; ++i) { |
| 72 | for (unsigned comp = 0; comp < 3; ++comp) { | 76 | for (unsigned comp = 0; comp < 3; ++comp) { |
| 73 | default_attributes[4 * i + comp] = nihstro::to_float24(Pica::g_state.vs.default_attributes[i][comp].ToFloat32()); | 77 | default_attributes[4 * i + comp] = nihstro::to_float24(Pica::g_state.vs_default_attributes[i][comp].ToFloat32()); |
| 74 | } | 78 | } |
| 75 | } | 79 | } |
| 76 | 80 | ||