Skip to content

Commit

Permalink
Clean up previous commit,
Browse files Browse the repository at this point in the history
still unconvinced if it's the best way to do it.;p
  • Loading branch information
LunaMoo committed Dec 25, 2017
1 parent 4f771a6 commit 224c8b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Windows/GEDebugger/GEDebugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 224c8b3

Please sign in to comment.