Advertisement
Guest User

Untitled

a guest
May 19th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
BibTeX 0.37 KB | None | 0 0
  1. typedef struct {
  2.     union { u32 size; u32 count; };
  3.     u32 offset;
  4. } record;
  5.  
  6. struct {
  7.     record songRec;
  8.     record toneRec;
  9.     record sampRec;
  10.     record nameRec;
  11.    
  12.     struct { record song; } songs[songRec.count];
  13.     struct { record tone; } tones[toneRec.count];
  14.     struct { record samp; } samps[sampRec.count];
  15.     struct { record name; } names[nameRec.count];
  16.    
  17.     u32 data[];
  18. } db;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement