NES - tiny speedup

This commit is contained in:
adelikat 2012-08-19 19:21:35 +00:00
parent 728c970f16
commit 493cff72c4
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
{
for (int y = top; y <= bottom; y++)
{
short pixel = emu.ppu.xbuf[(y * 256) + x];
short pixel = emu.ppu.xbuf[(y << 8) + x];
if ((pixel & 0x8000) != 0 && useBackdrop)
{
pixels[((y - top) * width) + (x - left)] = backdrop;