mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
Use IOFile for TextureToPng to support non-ascii
Changed save texture/screenshot uses to std::string Removed unneeded new/delete calls when dealing with temp data.
This commit is contained in:
parent
cce869ae01
commit
33d8166620
12 changed files with 28 additions and 46 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "Common.h"
|
||||
|
||||
bool SaveData(const char* filename, const char* pdata);
|
||||
bool TextureToPng(u8* data, int row_stride, const char* filename, int width, int height, bool saveAlpha = true);
|
||||
bool TextureToPng(u8* data, int row_stride, const std::string filename, int width, int height, bool saveAlpha = true);
|
||||
|
||||
#endif // _IMAGEWRITE_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue