mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
Use boolean not bool for libjpeg functions
Fixes build failure.
This commit is contained in:
parent
543492f9c4
commit
d49d8aa5e0
@ -577,7 +577,7 @@ void render_load_jpeg(bitmap_argb32 &bitmap, emu_file &file, const char *dirname
|
||||
jpeg_mem_src(&cinfo, jpg_buffer.get(), jpg_size);
|
||||
|
||||
// read JPEG header and start decompression
|
||||
jpeg_read_header(&cinfo, true);
|
||||
jpeg_read_header(&cinfo, TRUE);
|
||||
jpeg_start_decompress(&cinfo);
|
||||
|
||||
// allocates the destination bitmap
|
||||
|
Loading…
Reference in New Issue
Block a user