Some long-pending updates and fixes

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2100 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2005-12-22 01:16:02 +00:00
parent a1244b26bc
commit d2602bfa19
7 changed files with 58 additions and 27 deletions
+4 -4
View File
@@ -1,16 +1,16 @@
#include <stdint.h>
struct abx_header {
uint16_t num_frames;
uint16_t num_frames __attribute__ ((packed));
uint32_t tot_size __attribute__ ((packed));
uint16_t bufsize __attribute__ ((packed));
uint16_t freq __attribute__ ((packed));
};
struct frame_info {
uint32_t addr;
uint16_t fsize; // compressed file size
uint16_t usize; // uncompressed file size
uint32_t addr __attribute__ ((packed));
uint16_t fsize __attribute__ ((packed)); // compressed file size
uint16_t usize __attribute__ ((packed)); // uncompressed file size
};
#define SQLCH 0x40 // Squelch byte flag