aboutsummaryrefslogtreecommitdiff
path: root/source/memmap.c
diff options
context:
space:
mode:
authortwinaphex2018-02-21 13:49:45 +0100
committertwinaphex2018-02-21 13:49:45 +0100
commitea4775801b424594e309a3413815b67cc53d6ac1 (patch)
tree8b4e8b427cfca7128c8058da25591046ecb8da98 /source/memmap.c
parentb2859c8e0d5a7799058de685451ab8257d61ddcb (diff)
downloadsnes9x2005-ea4775801b424594e309a3413815b67cc53d6ac1.tar.gz
snes9x2005-ea4775801b424594e309a3413815b67cc53d6ac1.tar.bz2
snes9x2005-ea4775801b424594e309a3413815b67cc53d6ac1.zip
Update for MSVC
Diffstat (limited to 'source/memmap.c')
-rw-r--r--source/memmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/memmap.c b/source/memmap.c
index 209b6cd..d5c29b1 100644
--- a/source/memmap.c
+++ b/source/memmap.c
@@ -471,7 +471,7 @@ static uint32_t FileLoader(uint8_t* buffer, const char* filename, int32_t maxsiz
_splitpath(filename, drive, dir, name, ext);
_makepath(fname, drive, dir, name, ext);
-#ifdef __WIN32__
+#ifdef _WIN32
/* memmove required: Overlapping addresses [Neb] */
memmove(&ext [0], &ext[1], 4);
#endif
@@ -524,7 +524,7 @@ static uint32_t FileLoader(uint8_t* buffer, const char* filename, int32_t maxsiz
{
more = true;
ext [0]++;
-#ifdef __WIN32__
+#ifdef _WIN32
/* memmove required: Overlapping addresses [Neb] */
memmove(&ext [1], &ext [0], 4);
ext [0] = '.';
@@ -535,7 +535,7 @@ static uint32_t FileLoader(uint8_t* buffer, const char* filename, int32_t maxsiz
{
more = true;
name [len - 1]++;
-#ifdef __WIN32__
+#ifdef _WIN32
/* memmove required: Overlapping addresses [Neb] */
memmove(&ext [1], &ext [0], 4);
ext [0] = '.';