Merge branch 'showWP' into romname

This commit is contained in:
penfold42 2018-07-30 17:43:02 +10:00
commit d5ad31b37b
1 changed files with 5 additions and 1 deletions

View File

@ -292,7 +292,11 @@ void DiskCaddy::ShowSelectedImage(u32 index)
x = 0; x = 0;
y = 0; y = 0;
snprintf(buffer, 256, " D %d/%d ", index + 1, numberOfImages); snprintf(buffer, 256, " D %d/%d %c "
, index + 1
, numberOfImages
, GetImage(index)->GetReadOnly() ? 'R' : ' '
);
screenLCD->PrintText(false, x, y, buffer, RGBA(0xff, 0xff, 0xff, 0xff), RGBA(0xff, 0xff, 0xff, 0xff)); screenLCD->PrintText(false, x, y, buffer, RGBA(0xff, 0xff, 0xff, 0xff), RGBA(0xff, 0xff, 0xff, 0xff));
y += LCDFONTHEIGHT; y += LCDFONTHEIGHT;