diff options
author | Subv <subv2112@gmail.com> | 2015-01-10 21:55:52 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-01-10 21:55:52 +0100 |
commit | 115a4bfc9e1fd3cfadb0d220bd65471319def560 (patch) | |
tree | 5cc828904507851d13079d33f7ce5f93fff1e23f /src/citra_qt/debugger/graphics_framebuffer.cpp | |
parent | citra-qt: Fixed some Qt errors on initialization (diff) | |
download | yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.gz yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.bz2 yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.lz yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.xz yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.zst yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.zip |
Diffstat (limited to 'src/citra_qt/debugger/graphics_framebuffer.cpp')
-rw-r--r-- | src/citra_qt/debugger/graphics_framebuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cpp index 9f31e1e9f..a9423d6c7 100644 --- a/src/citra_qt/debugger/graphics_framebuffer.cpp +++ b/src/citra_qt/debugger/graphics_framebuffer.cpp @@ -160,8 +160,8 @@ void GraphicsFramebufferWidget::OnFramebufferAddressChanged(qint64 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(); |