Mercurial > hg > dmlib
changeset 1383:3bcf02e5a375
Oops, missed some necessary changes to gfxconv due to lib64gfx changes. Fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 24 Sep 2017 21:10:02 +0300 |
parents | 558776ee9603 |
children | ef20200d71d7 |
files | tools/gfxconv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/gfxconv.c Sun Sep 24 20:48:52 2017 +0300 +++ b/tools/gfxconv.c Sun Sep 24 21:10:02 2017 +0300 @@ -1046,7 +1046,7 @@ { dmMsg(1, "Upconverting multicolor to FLI.\n"); int i; - for (i = 1; i < C64_SCR_MAX_BANK; i++) + for (i = 1; i < image->nbanks; i++) { memcpy(image->color[i], image->color[0], C64_SCR_COLOR_SIZE); memcpy(image->screen[i], image->screen[0], C64_SCR_SCREEN_SIZE);