mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Render only 26 frames from bootanim
This commit is contained in:
parent
c6add85f40
commit
c4ae288ef1
@ -159,15 +159,15 @@ Execute::SpawnData SpawnInit()
|
|||||||
return Execute::Spawn(Config.InitPath, argv, envp);
|
return Execute::Spawn(Config.InitPath, argv, envp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Files: 0.tga 1.tga ... 40.tga */
|
/* Files: 0.tga 1.tga ... 26.tga */
|
||||||
void *Frames[41];
|
void *Frames[27];
|
||||||
uint32_t FrameSizes[41];
|
uint32_t FrameSizes[27];
|
||||||
uint32_t FrameCount = 1;
|
uint32_t FrameCount = 1;
|
||||||
|
|
||||||
void BootLogoAnimationThread()
|
void BootLogoAnimationThread()
|
||||||
{
|
{
|
||||||
char BootAnimPath[16];
|
char BootAnimPath[16];
|
||||||
while (FrameCount < 41)
|
while (FrameCount < 27)
|
||||||
{
|
{
|
||||||
sprintf(BootAnimPath, "%d.tga", FrameCount);
|
sprintf(BootAnimPath, "%d.tga", FrameCount);
|
||||||
std::shared_ptr<File> ba = bootanim_vfs->Open(BootAnimPath);
|
std::shared_ptr<File> ba = bootanim_vfs->Open(BootAnimPath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user