From adf01cb56ac4e927981103b27b1da6ab5b603486 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 13 Mar 2022 04:48:16 +0000 Subject: [PATCH] GS-Build: Fix Dump Verticles for linux --- pcsx2/GS/GSState.cpp | 2 +- pcsx2/GS/GSState.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/GSState.cpp b/pcsx2/GS/GSState.cpp index e3419157f0..f51e21f8dc 100644 --- a/pcsx2/GS/GSState.cpp +++ b/pcsx2/GS/GSState.cpp @@ -552,7 +552,7 @@ float GSState::GetTvRefreshRate() __assume(0); // unreachable } -void GSState::DumpVertices(std::string& filename) +void GSState::DumpVertices(const std::string& filename) { std::ofstream file(filename); diff --git a/pcsx2/GS/GSState.h b/pcsx2/GS/GSState.h index f16e736130..2dc34c0513 100644 --- a/pcsx2/GS/GSState.h +++ b/pcsx2/GS/GSState.h @@ -303,7 +303,7 @@ public: void SetRegsMem(u8* basemem) { m_regs = reinterpret_cast(basemem); } void SetFrameSkip(int skip); - void DumpVertices(std::string& filename); + void DumpVertices(const std::string& filename); PRIM_OVERLAP PrimitiveOverlap(); GIFRegTEX0 GetTex0Layer(u32 lod);