mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Imagewrite.cpp had same problem.
I hate windows :(
This commit is contained in:
@ -41,7 +41,7 @@ bool TextureToPng(u8* data, int row_stride, const std::string filename, int widt
|
|||||||
// Open file for writing (binary mode)
|
// Open file for writing (binary mode)
|
||||||
File::IOFile fp(filename, "wb");
|
File::IOFile fp(filename, "wb");
|
||||||
if (!fp.IsOpen()) {
|
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;
|
goto finalise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user