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