diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-11 16:59:53 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-11 16:59:53 +0100 |
commit | 63d05fca367227f32c80098270725e06c2eb3531 (patch) | |
tree | ad73d50fee67ee853f9559eaef29cefdc8bcc1b2 | |
parent | Merge pull request #462 from archshift/isbusy (diff) | |
parent | citra-qt: Add explicit casts to prevent some warnings. (diff) | |
download | yuzu-63d05fca367227f32c80098270725e06c2eb3531.tar yuzu-63d05fca367227f32c80098270725e06c2eb3531.tar.gz yuzu-63d05fca367227f32c80098270725e06c2eb3531.tar.bz2 yuzu-63d05fca367227f32c80098270725e06c2eb3531.tar.lz yuzu-63d05fca367227f32c80098270725e06c2eb3531.tar.xz yuzu-63d05fca367227f32c80098270725e06c2eb3531.tar.zst yuzu-63d05fca367227f32c80098270725e06c2eb3531.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/debugger/graphics_framebuffer.cpp | 8 | ||||
-rw-r--r-- | src/citra_qt/debugger/graphics_framebuffer.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cpp index caa6896f9..a9423d6c7 100644 --- a/src/citra_qt/debugger/graphics_framebuffer.cpp +++ b/src/citra_qt/debugger/graphics_framebuffer.cpp @@ -158,17 +158,17 @@ void GraphicsFramebufferWidget::OnFramebufferAddressChanged(qint64 new_value) } } -void GraphicsFramebufferWidget::OnFramebufferWidthChanged(unsigned int new_value) +void GraphicsFramebufferWidget::OnFramebufferWidthChanged(int new_value) { - if (framebuffer_width != new_value) { - framebuffer_width = new_value; + if (framebuffer_width != static_cast<unsigned>(new_value)) { + framebuffer_width = static_cast<unsigned>(new_value); framebuffer_source_list->setCurrentIndex(static_cast<int>(Source::Custom)); emit Update(); } } -void GraphicsFramebufferWidget::OnFramebufferHeightChanged(unsigned int new_value) +void GraphicsFramebufferWidget::OnFramebufferHeightChanged(int new_value) { if (framebuffer_height != new_value) { framebuffer_height = new_value; diff --git a/src/citra_qt/debugger/graphics_framebuffer.h b/src/citra_qt/debugger/graphics_framebuffer.h index 02813525c..56215761e 100644 --- a/src/citra_qt/debugger/graphics_framebuffer.h +++ b/src/citra_qt/debugger/graphics_framebuffer.h @@ -62,8 +62,8 @@ public: public slots: void OnFramebufferSourceChanged(int new_value); void OnFramebufferAddressChanged(qint64 new_value); - void OnFramebufferWidthChanged(unsigned int new_value); - void OnFramebufferHeightChanged(unsigned int new_value); + void OnFramebufferWidthChanged(int new_value); + void OnFramebufferHeightChanged(int new_value); void OnFramebufferFormatChanged(int new_value); void OnUpdate(); |