mirror of
https://github.com/libretro/potator.git
synced 2024-11-27 02:30:24 +00:00
Fix UINT32 issue for rs97
UINT32 is not recognized for rs97 so uint32 is used instead
This commit is contained in:
parent
246157c3a2
commit
3a6bcdfcb6
@ -17,15 +17,15 @@ typedef struct sMemBlockInfo
|
||||
{
|
||||
void *ptr;
|
||||
char *info;
|
||||
UINT32 size;
|
||||
uint32 size;
|
||||
struct sMemBlockInfo *next;
|
||||
struct sMemBlockInfo *prev;
|
||||
} sMemBlockInfo;
|
||||
|
||||
sMemBlockInfo memoryInfo;
|
||||
UINT32 memoryMaxAllocated;
|
||||
UINT32 currentAllocatedMemory;
|
||||
UINT32 maximumAllocatedMemory;
|
||||
uint32 memoryMaxAllocated;
|
||||
uint32 currentAllocatedMemory;
|
||||
uint32 maximumAllocatedMemory;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
@ -37,7 +37,7 @@ UINT32 maximumAllocatedMemory;
|
||||
//
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
void memory_addMemInfo(void *ptr, UINT32 size, char *info)
|
||||
void memory_addMemInfo(void *ptr, uint32 size, char *info)
|
||||
{
|
||||
sMemBlockInfo *alias;
|
||||
|
||||
@ -83,7 +83,7 @@ void memory_init(void)
|
||||
//
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
void *memory_malloc(UINT32 size, char *info)
|
||||
void *memory_malloc(uint32 size, char *info)
|
||||
{
|
||||
void *ptr;
|
||||
|
||||
@ -108,7 +108,7 @@ void *memory_malloc(UINT32 size, char *info)
|
||||
//
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
void memory_malloc_secure(void **new_ptr, UINT32 size, char *info)
|
||||
void memory_malloc_secure(void **new_ptr, uint32 size, char *info)
|
||||
{
|
||||
void *ptr;
|
||||
|
||||
@ -137,7 +137,7 @@ void memory_malloc_secure(void **new_ptr, UINT32 size, char *info)
|
||||
void memory_memoryUsage(FILE *fp)
|
||||
{
|
||||
sMemBlockInfo *alias;
|
||||
UINT32 total=0;
|
||||
uint32 total=0;
|
||||
|
||||
//fprintf(fp,"Memory usage:\n");
|
||||
alias=&memoryInfo;
|
||||
|
@ -20,8 +20,8 @@
|
||||
|
||||
void memory_init(void);
|
||||
void memory_done(void);
|
||||
void memory_malloc_secure(void **new_ptr, UINT32 size, char *info);
|
||||
void *memory_malloc(UINT32 size, char *info);
|
||||
void memory_malloc_secure(void **new_ptr, uint32 size, char *info);
|
||||
void *memory_malloc(uint32 size, char *info);
|
||||
void memory_free(void *ptr);
|
||||
void memory_memoryUsage(FILE *fp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user