mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Imagewrite.cpp had same problem.
I hate windows :(
This commit is contained in:
parent
f4a1f183b9
commit
b372f97675
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue