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