mirror of https://github.com/bsnes-emu/bsnes.git
v107.17
* initialize ppu-fast tilecaches on startup ** (fixes graphical residue on Windows)
This commit is contained in:
parent
c77ecef3e0
commit
e6d7df41da
|
@ -31,7 +31,7 @@ using namespace nall;
|
||||||
|
|
||||||
namespace Emulator {
|
namespace Emulator {
|
||||||
static const string Name = "bsnes";
|
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 Author = "byuu";
|
||||||
static const string License = "GPLv3";
|
static const string License = "GPLv3";
|
||||||
static const string Website = "https://byuu.org";
|
static const string Website = "https://byuu.org";
|
||||||
|
|
|
@ -45,9 +45,9 @@ PPU::PPU() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tilecache[TileMode::BPP2] = new uint8_t[4096 * 8 * 8];
|
tilecache[TileMode::BPP2] = new uint8_t[4096 * 8 * 8]();
|
||||||
tilecache[TileMode::BPP4] = new uint8_t[2048 * 8 * 8];
|
tilecache[TileMode::BPP4] = new uint8_t[2048 * 8 * 8]();
|
||||||
tilecache[TileMode::BPP8] = new uint8_t[1024 * 8 * 8];
|
tilecache[TileMode::BPP8] = new uint8_t[1024 * 8 * 8]();
|
||||||
|
|
||||||
for(uint y : range(240)) {
|
for(uint y : range(240)) {
|
||||||
lines[y].y = y;
|
lines[y].y = y;
|
||||||
|
|
Loading…
Reference in New Issue