better NESHawk version number
This commit is contained in:
parent
6bbab41b0c
commit
9dd24ebe3e
|
@ -8,7 +8,7 @@ using BizHawk.Emulation.CPUs.M6502;
|
|||
|
||||
namespace BizHawk.Emulation.Consoles.Nintendo
|
||||
{
|
||||
[CoreVersion("0.0.0.1",FriendlyName="NESHawk")]
|
||||
[CoreVersion("0.9.9.9",FriendlyName="NESHawk")]
|
||||
public partial class NES : IEmulator
|
||||
{
|
||||
//hardware/state
|
||||
|
|
|
@ -154,12 +154,12 @@ 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 * 256) + x];
|
||||
if ((pixel & 0x8000) != 0 && useBackdrop)
|
||||
{
|
||||
pixels[((y-top)*width) + (x - left)] = backdrop;
|
||||
pixels[((y - top) * width) + (x - left)] = backdrop;
|
||||
}
|
||||
else pixels[((y-top)*width) + (x - left)] = emu.palette_compiled[pixel & 0x7FFF];
|
||||
else pixels[((y - top) * width) + (x - left)] = emu.palette_compiled[pixel & 0x7FFF];
|
||||
}
|
||||
}
|
||||
return pixels;
|
||||
|
|
Loading…
Reference in New Issue