mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Correct the wPlanes field in the ico format
This commit is contained in:
parent
4d0f3183f2
commit
bb7972c437
@ -318,7 +318,7 @@ bool CreateICOFromPNGData(const uint8_t *imageData, size_t imageDataSize, const
|
||||
entry.bHeight = pngHeader.Height();
|
||||
entry.bColorCount = 0;
|
||||
entry.dwBytesInRes = (DWORD)imageDataSize;
|
||||
entry.wPlanes = 32;
|
||||
entry.wPlanes = 1;
|
||||
entry.wBitCount = 32;
|
||||
entry.dwImageOffset = sizeof(hdr) + sizeof(entry);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user