|
|
| version 1.9, 2004/08/15 11:17:58 | version 1.11, 2005/02/09 20:11:35 |
|---|---|
| Line 18 | Line 18 |
| #define S98LOG_BUFSIZE (32 * 1024) | #define S98LOG_BUFSIZE (32 * 1024) |
| typedef struct { | typedef struct { |
| BYTE magic[3]; | UINT8 magic[3]; |
| UINT8 formatversion; | UINT8 formatversion; |
| BYTE timerinfo[4]; | UINT8 timerinfo[4]; |
| BYTE timerinfo2[4]; | UINT8 timerinfo2[4]; |
| BYTE compressing[4]; | UINT8 compressing[4]; |
| BYTE offset[4]; | UINT8 offset[4]; |
| BYTE dumpdata[4]; | UINT8 dumpdata[4]; |
| BYTE looppoint[4]; | UINT8 looppoint[4]; |
| BYTE headerreserved[0x24]; | UINT8 headerreserved[0x24]; |
| BYTE title[0x40]; | UINT8 title[0x40]; |
| } S98HDR; | } S98HDR; |
| static struct { | static struct { |
| Line 35 static struct { | Line 35 static struct { |
| UINT32 intcount; | UINT32 intcount; |
| SINT32 clock; | SINT32 clock; |
| UINT p; | UINT p; |
| BYTE buf[S98LOG_BUFSIZE]; | UINT8 buf[S98LOG_BUFSIZE]; |
| } s98log; | } s98log; |
| Line 108 void S98_trash(void) { | Line 108 void S98_trash(void) { |
| S98_close(); | S98_close(); |
| } | } |
| BOOL S98_open(const char *filename) { | BRESULT S98_open(const OEMCHAR *filename) { |
| UINT i; | UINT i; |
| S98HDR hdr; | S98HDR hdr; |