notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: adjust ld_use_hazard
[pcsx_rearmed.git]
/
libpcsxcore
/
psxmem.c
diff --git
a/libpcsxcore/psxmem.c
b/libpcsxcore/psxmem.c
index
14e7a9e
..
42755e5
100644
(file)
--- a/
libpcsxcore/psxmem.c
+++ b/
libpcsxcore/psxmem.c
@@
-44,7
+44,7
@@
static void * psxMapDefault(unsigned long addr, size_t size,
int is_fixed, enum psxMapTag tag)
{
static void * psxMapDefault(unsigned long addr, size_t size,
int is_fixed, enum psxMapTag tag)
{
-#if !HAVE_MMAP
+#if !
P_
HAVE_MMAP
void *ptr;
ptr = malloc(size);
void *ptr;
ptr = malloc(size);
@@
-59,7
+59,7
@@
static void * psxMapDefault(unsigned long addr, size_t size,
static void psxUnmapDefault(void *ptr, size_t size, enum psxMapTag tag)
{
static void psxUnmapDefault(void *ptr, size_t size, enum psxMapTag tag)
{
-#if !HAVE_MMAP
+#if !
P_
HAVE_MMAP
free(ptr);
#else
munmap(ptr, size);
free(ptr);
#else
munmap(ptr, size);