mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
d078309827
This may lead to errors in the D3D backend, as we overwrite read-only memory.
13 lines
390 B
C++
13 lines
390 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "Common/CommonTypes.h"
|
|
|
|
bool SaveData(const std::string& filename, const std::string& data);
|
|
bool TextureToPng(const u8* data, int row_stride, const std::string& filename, int width,
|
|
int height, bool saveAlpha = true);
|