mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
GE Debugger: Save with alpha for PNGs.
This commit is contained in:
1 parent
c3ac0659bd
commit
554a85e6d8
4 files changed
+72
-26
No files matched your search
+2
-1
@@ -33,8 +33,9 @@ enum ScreenshotType {
|
||||
SCREENSHOT_RENDER,
|
||||
};
|
||||
|
||||
const u8 *ConvertBufferTo888RGB(const GPUDebugBuffer &buf, u8 *&temp, u32 &w, u32 &h);
|
||||
const u8 *ConvertBufferToScreenshot(const GPUDebugBuffer &buf, bool alpha, u8 *&temp, u32 &w, u32 &h);
|
||||
|
||||
// Can only be used while in game.
|
||||
bool TakeGameScreenshot(const char *filename, ScreenshotFormat fmt, ScreenshotType type, int *width = nullptr, int *height = nullptr, int maxRes = -1);
|
||||
bool Save888RGBScreenshot(const char *filename, ScreenshotFormat fmt, const u8 *bufferRGB888, int w, int h);
|
||||
bool Save8888RGBAScreenshot(const char *filename, const u8 *bufferRGBA8888, int w, int h);
|
||||
Reference in new issue
Block a user