Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Imagewrite.cpp had same problem.
I hate windows :(
  • Loading branch information
Parlane committed Nov 16, 2013
1 parent f4a1f18 commit b372f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/ImageWrite.cpp
Expand Up @@ -41,7 +41,7 @@ bool TextureToPng(u8* data, int row_stride, const std::string filename, int widt
// Open file for writing (binary mode)
File::IOFile fp(filename, "wb");
if (!fp.IsOpen()) {
PanicAlert("Screenshot failed: Could not open file %s %d\n", filename, errno);
PanicAlert("Screenshot failed: Could not open file %s %d\n", filename.c_str(), errno);
goto finalise;
}

Expand Down

0 comments on commit b372f97

Please sign in to comment.