Переглянути джерело

Disabling rainbow by default

ICPad
Jacob Alexander 8 роки тому
джерело
коміт
077d781cf1
1 змінених файлів з 5 додано та 1 видалено
  1. 5
    1
      Macro/PixelMap/pixel.c

+ 5
- 1
Macro/PixelMap/pixel.c Переглянути файл

@@ -2620,9 +2620,11 @@ inline void Pixel_process()
rainbow_pos++;
Pixel_testMode = PixelTest_Off;

if ( rainbow_pos >= sizeof( rainbow_frames ) )
if ( rainbow_pos >= sizeof( rainbow_frames ) / 2 )
{
rainbow_pos = 0;
goto pixel_process_done;
}

default:
break;
@@ -2631,6 +2633,7 @@ inline void Pixel_process()
// Start from the top of the Animation Stack
// TODO

/*
// XXX Temp - Play rainbow
Pixel_pixelProcess( rainbow_frames[rainbow_pos], rainbow_framesizes[rainbow_pos] );
rainbow_pos++;
@@ -2640,6 +2643,7 @@ inline void Pixel_process()
{
rainbow_pos = 0;
}
*/


pixel_process_done: