Fix type lenght -> length

This commit is contained in:
Godzil
2023-03-22 18:20:16 +00:00
parent 768515710c
commit 37b24667fd
5 changed files with 32 additions and 32 deletions

View File

@@ -55,7 +55,7 @@ void dis_asm::draw(uint16_t adress)
if ( asm51[ram[adress]].code == ram[adress] )
{
textprintf(surface, mainf, left, c, color, "%4x:", adress);
for ( cnt = 0 ; cnt < asm51[ram[adress]].lenght ; cnt++ )
for ( cnt = 0 ; cnt < asm51[ram[adress]].length ; cnt++ )
{
if ( PC == ( adress + cnt ))
{
@@ -68,7 +68,7 @@ void dis_asm::draw(uint16_t adress)
hexoutB(left + 50 + cnt * 24, c, colPC, ram[adress + cnt]);
}
textprintf(surface, mainf, left + 144, c, color, "%s", asm51[ram[adress]].display_string);
adress += asm51[ram[adress]].lenght;
adress += asm51[ram[adress]].length;
}
else
{