summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ImageWrite.h
blob: b46dc1376f83e6d0926cb496408c0578dd0b5f37 (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.

#pragma once

#include "Common/Common.h"

bool SaveData(const char* filename, const char* pdata);
bool TextureToPng(u8* data, int row_stride, const std::string& filename, int width, int height, bool saveAlpha = true);