mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 07:05:40 +00:00
make compilable with visual studio
This commit is contained in:
parent
8f6ab2fcf9
commit
a246fc1454
|
@ -15,12 +15,14 @@ namespace Util
|
||||||
uint16_t reserved2;
|
uint16_t reserved2;
|
||||||
uint32_t bitmap_offset;
|
uint32_t bitmap_offset;
|
||||||
BMPHeader(uint32_t _file_size, uint32_t _bitmap_offset)
|
BMPHeader(uint32_t _file_size, uint32_t _bitmap_offset)
|
||||||
: id{ 'B', 'M' },
|
: file_size(_file_size),
|
||||||
file_size(_file_size),
|
|
||||||
reserved1(0),
|
reserved1(0),
|
||||||
reserved2(0),
|
reserved2(0),
|
||||||
bitmap_offset(_bitmap_offset)
|
bitmap_offset(_bitmap_offset)
|
||||||
{}
|
{
|
||||||
|
id[0] = 'B';
|
||||||
|
id[1] = 'M';
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct BMPInfoHeader
|
struct BMPInfoHeader
|
||||||
|
|
Loading…
Reference in a new issue