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