aboutsummaryrefslogtreecommitdiff
path: root/source/memmap.c
diff options
context:
space:
mode:
authorTwinaphex2018-03-31 13:49:54 +0200
committerGitHub2018-03-31 13:49:54 +0200
commit9f836824d9f447ac8f2ffc829ebb02e49caf5e57 (patch)
tree55988350254e2e685e0c55d095d9a0f8d64c41b2 /source/memmap.c
parent8ca47fd3e698aa0ccc63bb62784818d243cf3643 (diff)
parentbb13407869200360f90e10233fc649fc056f4e98 (diff)
downloadsnesemu-9f836824d9f447ac8f2ffc829ebb02e49caf5e57.tar.gz
snesemu-9f836824d9f447ac8f2ffc829ebb02e49caf5e57.tar.bz2
snesemu-9f836824d9f447ac8f2ffc829ebb02e49caf5e57.zip
Merge pull request #53 from Dwedit/submission_1
Add support for Audio/Video Disable flags and Hard Disable Audio
Diffstat (limited to 'source/memmap.c')
-rw-r--r--source/memmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/memmap.c b/source/memmap.c
index d5c29b1..4f76fc8 100644
--- a/source/memmap.c
+++ b/source/memmap.c
@@ -24,6 +24,11 @@
#include <malloc.h>
#endif
+#ifdef _MSC_VER
+/* Necessary to build on MSVC */
+#define strnicmp _strnicmp
+#endif
+
#define MAP_HIROM_SRAM_OR_NONE (Memory.SRAMSize == 0 ? (uint8_t*) MAP_NONE : (uint8_t*) MAP_HIROM_SRAM)
#define MAP_LOROM_SRAM_OR_NONE (Memory.SRAMSize == 0 ? (uint8_t*) MAP_NONE : (uint8_t*) MAP_LOROM_SRAM)
#define MAP_RONLY_SRAM_OR_NONE (Memory.SRAMSize == 0 ? (uint8_t*) MAP_NONE : (uint8_t*) MAP_RONLY_SRAM)