diff options
author | Dwedit | 2018-03-30 22:35:35 -0500 |
---|---|---|
committer | Dwedit | 2018-03-30 22:35:35 -0500 |
commit | f453201fa149d3e2a85f0b466b1c67c6c90d54e0 (patch) | |
tree | d1c97fb8954fc210e09f35cbb2738720ea47aa1f /source/memmap.c | |
parent | 8ca47fd3e698aa0ccc63bb62784818d243cf3643 (diff) | |
download | snesemu-f453201fa149d3e2a85f0b466b1c67c6c90d54e0.tar.gz snesemu-f453201fa149d3e2a85f0b466b1c67c6c90d54e0.tar.bz2 snesemu-f453201fa149d3e2a85f0b466b1c67c6c90d54e0.zip |
Add support for Audio/Video Disable flags
Add support for Hard Disable Audio
Fix frame discarding causing infinite loops
Fix MSVC building
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) |