This commit is contained in:
parent
773be8ef74
commit
12cce2474e
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ void CActorCache::LoadPalette(sActorPool *Actor)
|
||||||
R.y=CACHE_PALY-Y;
|
R.y=CACHE_PALY-Y;
|
||||||
R.w=CACHE_PALW;
|
R.w=CACHE_PALW;
|
||||||
R.h=CACHE_PALH;
|
R.h=CACHE_PALH;
|
||||||
DrawSync(0);
|
while(DrawSync(1));
|
||||||
LoadImage( &R, (u32*)Actor->ActorGfx->Palette);
|
LoadImage( &R, (u32*)Actor->ActorGfx->Palette);
|
||||||
Actor->ActorGfx->Clut=getClut(R.x,R.y);
|
Actor->ActorGfx->Clut=getClut(R.x,R.y);
|
||||||
CurrentPalette++;
|
CurrentPalette++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue