Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 2497 → Rev 2498

/trunk/modules/vgm/vgmstream.c
340,6 → 340,7
source->usage.all = 0;
VgmSourceStream* vss = vgmh2_malloc(sizeof(VgmSourceStream));
source->data = vss;
vss->filepath = NULL;
vss->datalen = 0;
vss->vgmdatastartaddr = 0;
vss->block = NULL;
348,6 → 349,9
}
void VGM_SourceStream_Delete(void* sourcestream){
VgmSourceStream* vss = (VgmSourceStream*)sourcestream;
if(vss->filepath != NULL){
vgmh2_free(vss->filepath);
}
if(vss->block != NULL){
free(vss->block);
}
/trunk/modules/vgm/vgmstream.h
44,9 → 44,11
} VgmHeadStream;
 
typedef union {
u8 ALL[16+sizeof(file_t)];
u8 ALL[20+sizeof(file_t)];
struct{
file_t file;
char* filepath;
u32 datalen;
u32 vgmdatastartaddr;