mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 09:57:52 -05:00
Port #4182 from Citra: "Prefix all size_t with std::"
This commit is contained in:
@ -42,7 +42,8 @@ QVariant BreakPointModel::data(const QModelIndex& index, int role) const {
|
||||
tr("Finished primitive batch")},
|
||||
};
|
||||
|
||||
DEBUG_ASSERT(map.size() == static_cast<size_t>(Tegra::DebugContext::Event::NumEvents));
|
||||
DEBUG_ASSERT(map.size() ==
|
||||
static_cast<std::size_t>(Tegra::DebugContext::Event::NumEvents));
|
||||
return (map.find(event) != map.end()) ? map.at(event) : QString();
|
||||
}
|
||||
|
||||
|
@ -341,8 +341,8 @@ void GraphicsSurfaceWidget::OnUpdate() {
|
||||
// directly...
|
||||
|
||||
const auto& registers = gpu.Maxwell3D().regs;
|
||||
const auto& rt = registers.rt[static_cast<size_t>(surface_source) -
|
||||
static_cast<size_t>(Source::RenderTarget0)];
|
||||
const auto& rt = registers.rt[static_cast<std::size_t>(surface_source) -
|
||||
static_cast<std::size_t>(Source::RenderTarget0)];
|
||||
|
||||
surface_address = rt.Address();
|
||||
surface_width = rt.width;
|
||||
|
Reference in New Issue
Block a user