Added rtti-reader and made various cleanups, switching to Shutdown_M for error handling

This commit is contained in:
Fatbag 2012-12-03 12:31:24 -06:00
parent 5444c9aea6
commit 6dddbd2efa
25 changed files with 771 additions and 194 deletions

View file

@ -68,9 +68,9 @@ struct Sound_t {
namespace File {
inline unsigned GetFileSize(FILE * hFile){
inline size_t GetFileSize(FILE * hFile){
fseek(hFile, 0, SEEK_END);
unsigned FileSize = ftell(hFile);
size_t FileSize = ftell(hFile);
fseek(hFile, 0, SEEK_SET);
return FileSize;
}