mirror of
https://github.com/pret/pmd-sky.git
synced 2026-05-09 12:13:12 -05:00
12 lines
350 B
C
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
|