tabs and braces must exist in an orderly manner!
This commit is contained in:
parent
86a20544e6
commit
4e12f54897
|
@ -352,18 +352,14 @@ namespace BizHawk.Emulation
|
||||||
unsafe
|
unsafe
|
||||||
{
|
{
|
||||||
fixed (byte* src_ = framebuffer.VideoBuffer)
|
fixed (byte* src_ = framebuffer.VideoBuffer)
|
||||||
|
fixed (int* dst_ = vidbuffer)
|
||||||
|
fixed (int* pal = TIATables.NTSCPalette)
|
||||||
{
|
{
|
||||||
fixed (int* dst_ = vidbuffer)
|
byte* src = src_;
|
||||||
|
int* dst = dst_;
|
||||||
|
for (int i = 0; i < vidbuffer.Length; i++)
|
||||||
{
|
{
|
||||||
fixed (int* pal = TIATables.NTSCPalette)
|
*dst++ = pal[*src++];
|
||||||
{
|
|
||||||
byte* src = src_;
|
|
||||||
int* dst = dst_;
|
|
||||||
for (int i = 0; i < vidbuffer.Length; i++)
|
|
||||||
{
|
|
||||||
*dst++ = pal[*src++];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue