mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-18 20:16:44 -04:00
Added support for SPR2, DGRP, and OBJf in the iff library and in iff2html.
This commit is contained in:
parent
bc978bfa0b
commit
e51ce26db9
11 changed files with 647 additions and 90 deletions
|
@ -111,7 +111,7 @@ int bmp_read_data(bmpheader_t * BMPHeader, const uint8_t *__restrict InBuffer, u
|
|||
unsigned y, x;
|
||||
unsigned padding = BMPHeader->biWidth % 4;
|
||||
if(padding != 0) padding = 4-padding;
|
||||
|
||||
|
||||
for(y=0; y<BMPHeader->biHeight; y++){
|
||||
for(x=0; x<BMPHeader->biWidth; x++){
|
||||
unsigned index = 4*(*InBuffer++);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue