diff options
author | Twinaphex | 2018-03-31 13:49:54 +0200 |
---|---|---|
committer | GitHub | 2018-03-31 13:49:54 +0200 |
commit | 9f836824d9f447ac8f2ffc829ebb02e49caf5e57 (patch) | |
tree | 55988350254e2e685e0c55d095d9a0f8d64c41b2 /source/memmap.c | |
parent | 8ca47fd3e698aa0ccc63bb62784818d243cf3643 (diff) | |
parent | bb13407869200360f90e10233fc649fc056f4e98 (diff) | |
download | snesemu-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.c | 5 |
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) |