summaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/graphics
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-03 23:17:35 -0500
committerbunnei <bunneidev@gmail.com>2019-03-20 22:36:02 -0400
commit241563d15c8b831a2d2b7c360d570cc721903d14 (patch)
treef43f13d6af3b9b7e2cc92d241d7aabc490ee6ef0 /src/yuzu/debugger/graphics
parent43b83d6b6a96c113d9036f01c48c021cb3561f72 (diff)
gpu: Move GPUVAddr definition to common_types.
Diffstat (limited to 'src/yuzu/debugger/graphics')
-rw-r--r--src/yuzu/debugger/graphics/graphics_surface.cpp2
-rw-r--r--src/yuzu/debugger/graphics/graphics_surface.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp
index 29f01dfb2..11023ed63 100644
--- a/src/yuzu/debugger/graphics/graphics_surface.cpp
+++ b/src/yuzu/debugger/graphics/graphics_surface.cpp
@@ -261,7 +261,7 @@ void GraphicsSurfaceWidget::OnSurfaceSourceChanged(int new_value) {
void GraphicsSurfaceWidget::OnSurfaceAddressChanged(qint64 new_value) {
if (surface_address != new_value) {
- surface_address = static_cast<Tegra::GPUVAddr>(new_value);
+ surface_address = static_cast<GPUVAddr>(new_value);
surface_source_list->setCurrentIndex(static_cast<int>(Source::Custom));
emit Update();
diff --git a/src/yuzu/debugger/graphics/graphics_surface.h b/src/yuzu/debugger/graphics/graphics_surface.h
index 323e39d94..89445b18f 100644
--- a/src/yuzu/debugger/graphics/graphics_surface.h
+++ b/src/yuzu/debugger/graphics/graphics_surface.h
@@ -87,7 +87,7 @@ private:
QPushButton* save_surface;
Source surface_source;
- Tegra::GPUVAddr surface_address;
+ GPUVAddr surface_address;
unsigned surface_width;
unsigned surface_height;
Tegra::Texture::TextureFormat surface_format;