mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-30 20:58:30 -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;
|
||||
|
@ -117,7 +117,7 @@ QString WaitTreeCallstack::GetText() const {
|
||||
std::vector<std::unique_ptr<WaitTreeItem>> WaitTreeCallstack::GetChildren() const {
|
||||
std::vector<std::unique_ptr<WaitTreeItem>> list;
|
||||
|
||||
constexpr size_t BaseRegister = 29;
|
||||
constexpr std::size_t BaseRegister = 29;
|
||||
u64 base_pointer = thread.context.cpu_registers[BaseRegister];
|
||||
|
||||
while (base_pointer != 0) {
|
||||
|
Reference in New Issue
Block a user