pmd-sky/include/save.h
2026-05-06 12:49:58 -04:00

12 lines
350 B
C

#ifndef PMDSKY_SAVE_H
#define PMDSKY_SAVE_H
struct bitstream {
char* ptr; // Current byte
u32 end; // End of the region the bitstream can read from / write to. Doesn't seem to do anything with this information?
u32 bit_idx; // Bit position in current byte
u32 bit_count; // Total bits this stream has used
};
#endif //PMDSKY_SAVE_H