diff --git a/Windows/GEDebugger/GEDebugger.cpp b/Windows/GEDebugger/GEDebugger.cpp index 8302f86f1b..3c6f4af9d0 100644 --- a/Windows/GEDebugger/GEDebugger.cpp +++ b/Windows/GEDebugger/GEDebugger.cpp @@ -275,13 +275,10 @@ void CGEDebugger::PreviewExport(const GPUDebugBuffer *dbgBuffer) { } void CGEDebugger::ShowReplacementFilename() { - primaryBuffer_ = nullptr; - GPU_GetCurrentTexture(primaryBuffer_, textureLevel_); const auto state = gpuDebug->GetGState(); u32 texAddr = state.getTextureAddress(textureLevel_); std::string filename = gpuDebug->PrintReplacementInfo(texAddr); InputBox_GetString(GetModuleHandle(NULL), m_hDlg, L"Filename", filename, filename); - } void CGEDebugger::UpdatePreviews() {