2013-04-17 23:09:55 -04:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2014-02-10 13:54:46 -05:00
|
|
|
#pragma once
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2014-06-03 01:08:54 -04:00
|
|
|
#include <string>
|
2014-09-07 20:06:58 -05:00
|
|
|
#include "Common/CommonTypes.h"
|
2008-12-26 12:27:58 +00:00
|
|
|
|
2014-06-03 01:08:54 -04:00
|
|
|
bool SaveData(const std::string& filename, const char* pdata);
|
2014-02-23 23:03:39 +01:00
|
|
|
bool TextureToPng(u8* data, int row_stride, const std::string& filename, int width, int height, bool saveAlpha = true);
|