equal
deleted
inserted
replaced
27 static void OpenBankFile(const char *filename) |
27 static void OpenBankFile(const char *filename) |
28 { |
28 { |
29 uint i; |
29 uint i; |
30 |
30 |
31 FioOpenFile(SOUND_SLOT, filename); |
31 FioOpenFile(SOUND_SLOT, filename); |
32 uint pos = FioGetPos(); |
32 size_t pos = FioGetPos(); |
33 uint count = FioReadDword() / 8; |
33 uint count = FioReadDword() / 8; |
34 |
34 |
35 /* Simple check for the correct number of original sounds. */ |
35 /* Simple check for the correct number of original sounds. */ |
36 if (count != 73) { |
36 if (count != 73) { |
37 DEBUG(misc, 6, "Incorrect number of sounds in '%s', ignoring.", filename); |
37 DEBUG(misc, 6, "Incorrect number of sounds in '%s', ignoring.", filename); |