More-accurate GenericLoad.cpp variable arrangement

This commit is contained in:
Clownacy 2020-01-07 06:25:12 +00:00
parent 34bee5073f
commit bd6f2fe81d

View file

@ -155,9 +155,8 @@ static const PIXTONEPARAMETER gPtpTable[139] =
BOOL LoadGenericData(void) BOOL LoadGenericData(void)
{ {
char str[0x40];
BOOL bError;
int pt_size; int pt_size;
BOOL bError;
MakeSurface_Resource("PIXEL", SURFACE_ID_PIXEL); MakeSurface_Resource("PIXEL", SURFACE_ID_PIXEL);
@ -293,6 +292,8 @@ BOOL LoadGenericData(void)
pt_size += MakePixToneObject(&gPtpTable[136], 1, 3); pt_size += MakePixToneObject(&gPtpTable[136], 1, 3);
pt_size += MakePixToneObject(&gPtpTable[137], 1, 6); pt_size += MakePixToneObject(&gPtpTable[137], 1, 6);
pt_size += MakePixToneObject(&gPtpTable[138], 1, 7); pt_size += MakePixToneObject(&gPtpTable[138], 1, 7);
char str[0x40];
sprintf(str, "PixTone = %d byte", pt_size); sprintf(str, "PixTone = %d byte", pt_size);
// There must have been some kind of console print function here or something // There must have been some kind of console print function here or something
return TRUE; return TRUE;