mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00
Imagewrite.cpp had same problem.
I hate windows :(
This commit is contained in:
parent
f4a1f183b9
commit
b372f97675
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user