*fixed settings paths creation bug

*fixed crash when installing on ntfs
*fixed a few bugs with language setting for games
This commit is contained in:
dimok321 2010-12-29 10:22:11 +00:00
parent 89fc757642
commit 9bcb476262
3 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,8 @@ extern __inline__ void* mem_align (size_t a, size_t size) {
} }
extern __inline__ void mem_free (void* mem) { extern __inline__ void mem_free (void* mem) {
MEM2_free(mem); //using normal free, it will decide which free to use (just to be on the safe side)
free(mem);
} }
#endif /* _MEM_ALLOCATE_H */ #endif /* _MEM_ALLOCATE_H */

View File

@ -43,7 +43,8 @@ static inline void* _FAT_mem_align (size_t size) {
} }
static inline void _FAT_mem_free (void* mem) { static inline void _FAT_mem_free (void* mem) {
MEM2_free(mem); //using normal free, it will decide which free to use (just to be on the safe side)
free(mem);
} }
#endif // _MEM_ALLOCATE_H #endif // _MEM_ALLOCATE_H

View File

@ -38,7 +38,8 @@ static inline void* ntfs_align (size_t size)
static inline void ntfs_free (void* mem) static inline void ntfs_free (void* mem)
{ {
MEM2_free(mem); //using normal free, it will decide which free to use (just to be on the safe side)
free(mem);
} }
#endif /* _MEM_ALLOCATE_H */ #endif /* _MEM_ALLOCATE_H */