tabs and braces must exist in an orderly manner!

This commit is contained in:
goyuken 2013-07-31 00:33:02 +00:00
parent 86a20544e6
commit 4e12f54897
1 changed files with 6 additions and 10 deletions

View File

@ -352,18 +352,14 @@ namespace BizHawk.Emulation
unsafe
{
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)
{
byte* src = src_;
int* dst = dst_;
for (int i = 0; i < vidbuffer.Length; i++)
{
*dst++ = pal[*src++];
}
}
*dst++ = pal[*src++];
}
}
}