Mercurial > repos > blastem
view ppm.h @ 1678:d377d6037dd9
Don't subtract chunk start from address in read_word as this is inconsistent with other consumers of memory map definitions. Fixes graphical corruption in NBA Jam TE and possibly other titles that use the Acclaim mapper with a 32Mbit ROM
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 16 Jan 2019 09:49:18 -0800 |
parents | 5f65a16c23ff |
children |
line wrap: on
line source
#ifndef PPM_H_ #define PPM_H_ void save_ppm(FILE *f, uint32_t *buffer, uint32_t width, uint32_t height, uint32_t pitch); #endif //PPM_H_