mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix atlastool build.
This commit is contained in:
parent
86051a8f3c
commit
91ff535272
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ struct Image {
|
|||
png_destroy_write_struct(&png_ptr, &info_ptr);
|
||||
}
|
||||
void SaveZIM(const char *zim_name, int zim_format) {
|
||||
uint8 *image_data = new uint8[width() * height() * 4];
|
||||
uint8_t *image_data = new uint8_t[width() * height() * 4];
|
||||
for (int y = 0; y < height(); y++) {
|
||||
memcpy(image_data + y * width() * 4, &dat[y][0], width() * 4);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue