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