diff --git a/bsnes/emulator/emulator.hpp b/bsnes/emulator/emulator.hpp index b07c899f..7293118d 100644 --- a/bsnes/emulator/emulator.hpp +++ b/bsnes/emulator/emulator.hpp @@ -31,7 +31,7 @@ using namespace nall; namespace Emulator { static const string Name = "bsnes"; - static const string Version = "107.16"; + static const string Version = "107.17"; static const string Author = "byuu"; static const string License = "GPLv3"; static const string Website = "https://byuu.org"; diff --git a/bsnes/sfc/ppu-fast/ppu.cpp b/bsnes/sfc/ppu-fast/ppu.cpp index 12ba12ad..2ae2609f 100644 --- a/bsnes/sfc/ppu-fast/ppu.cpp +++ b/bsnes/sfc/ppu-fast/ppu.cpp @@ -45,9 +45,9 @@ PPU::PPU() { } } - tilecache[TileMode::BPP2] = new uint8_t[4096 * 8 * 8]; - tilecache[TileMode::BPP4] = new uint8_t[2048 * 8 * 8]; - tilecache[TileMode::BPP8] = new uint8_t[1024 * 8 * 8]; + tilecache[TileMode::BPP2] = new uint8_t[4096 * 8 * 8](); + tilecache[TileMode::BPP4] = new uint8_t[2048 * 8 * 8](); + tilecache[TileMode::BPP8] = new uint8_t[1024 * 8 * 8](); for(uint y : range(240)) { lines[y].y = y;