summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzawata <zawataza@gmail.com>2015-06-28 04:27:49 +0200
committerzawata <zawataza@gmail.com>2015-07-19 12:59:44 +0200
commit3c802b06e9899685b744470c37ff48414f63c34f (patch)
tree3d6d49c635e4a5498609302139473f8e86e0e581
parentMerge pull request #941 from citra-emu/armv6-thumb-mov (diff)
downloadyuzu-3c802b06e9899685b744470c37ff48414f63c34f.tar
yuzu-3c802b06e9899685b744470c37ff48414f63c34f.tar.gz
yuzu-3c802b06e9899685b744470c37ff48414f63c34f.tar.bz2
yuzu-3c802b06e9899685b744470c37ff48414f63c34f.tar.lz
yuzu-3c802b06e9899685b744470c37ff48414f63c34f.tar.xz
yuzu-3c802b06e9899685b744470c37ff48414f63c34f.tar.zst
yuzu-3c802b06e9899685b744470c37ff48414f63c34f.zip
-rw-r--r--src/citra_qt/debugger/graphics_cmdlists.cpp2
-rw-r--r--src/citra_qt/debugger/profiler.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp
index cabf5fe07..e15ed7dea 100644
--- a/src/citra_qt/debugger/graphics_cmdlists.cpp
+++ b/src/citra_qt/debugger/graphics_cmdlists.cpp
@@ -168,7 +168,7 @@ GPUCommandListModel::GPUCommandListModel(QObject* parent) : QAbstractListModel(p
}
int GPUCommandListModel::rowCount(const QModelIndex& parent) const {
- return pica_trace.writes.size();
+ return static_cast<int>(pica_trace.writes.size());
}
int GPUCommandListModel::columnCount(const QModelIndex& parent) const {
diff --git a/src/citra_qt/debugger/profiler.cpp b/src/citra_qt/debugger/profiler.cpp
index 2ac1748b7..89b28c2f4 100644
--- a/src/citra_qt/debugger/profiler.cpp
+++ b/src/citra_qt/debugger/profiler.cpp
@@ -74,7 +74,7 @@ int ProfilerModel::rowCount(const QModelIndex& parent) const
if (parent.isValid()) {
return 0;
} else {
- return results.time_per_category.size() + 2;
+ return static_cast<int>(results.time_per_category.size() + 2);
}
}