mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-26 08:44:47 +02:00
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing Let's also move net while we're at it. Move the ZIM/PNG loaders over to Common. Move the UI framework into Common iOS buildfix * Buildfix * Buildfixes * Apple buildfix * This typo again.. * UWP buildfix * Fix build of PPSSPPQt, such as it is (it's not in good condition...) * Guess what? Another buildfix.
15 lines
439 B
C++
15 lines
439 B
C++
#pragma once
|
|
|
|
#include <cstdio>
|
|
#include <cstdint>
|
|
|
|
// For the type enums etc.
|
|
#include "Common/Data/Format/ZIMLoad.h"
|
|
|
|
// SaveZIM's responsibility:
|
|
// * Write the ZIM format
|
|
// * Generate mipmaps if requested
|
|
// * Convert images to the requested format
|
|
// Input image is always 8888 RGBA. SaveZIM takes care of downsampling and mipmap generation.
|
|
void SaveZIM(FILE *f, int width, int height, int pitch, int format, const uint8_t *image);
|