Mercurial > hg > dmlib
comparison tools/lib64fmts.c @ 1795:c8d690e8f9e9
Fix some typos in comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 13 Jun 2018 14:17:13 +0300 |
parents | 905c09049fe6 |
children | 6db41588458c |
comparison
equal
deleted
inserted
replaced
1794:9dced5352f70 | 1795:c8d690e8f9e9 |
---|---|
907 return res; | 907 return res; |
908 } | 908 } |
909 | 909 |
910 | 910 |
911 // | 911 // |
912 // Helper macros for defining screen ram layouts | 912 // Helper macros for defining screen memory layouts |
913 // common for FLI type foramts | 913 // common for several FLI type image formats |
914 // | 914 // |
915 #define DEF_SCREEN_RAM(start, oindex, bindex, osize) { DO_COPY, DS_SCREEN_RAM, (start) + ((osize) * (oindex)), (bindex), 0, NULL, NULL } | 915 #define DEF_SCREEN_RAM(start, oindex, bindex, osize) { DO_COPY, DS_SCREEN_RAM, (start) + ((osize) * (oindex)), (bindex), 0, NULL, NULL } |
916 #define DEF_SCREEN_RAMS_8(start, sindex, osize) \ | 916 #define DEF_SCREEN_RAMS_8(start, sindex, osize) \ |
917 DEF_SCREEN_RAM((start), 0, (sindex + 0), (osize)), \ | 917 DEF_SCREEN_RAM((start), 0, (sindex + 0), (osize)), \ |
918 DEF_SCREEN_RAM((start), 1, (sindex + 1), (osize)), \ | 918 DEF_SCREEN_RAM((start), 1, (sindex + 1), (osize)), \ |
926 | 926 |
927 | 927 |
928 // | 928 // |
929 // Many formats actually share memory layout, and there are packed and | 929 // Many formats actually share memory layout, and there are packed and |
930 // unpacked versions of several formats. We'll reuse these here through | 930 // unpacked versions of several formats. We'll reuse these here through |
931 // this common formats ops array, referred from dmC64ImageFormats[] | 931 // this common formats data array, referred from dmC64ImageFormats[] |
932 // | 932 // |
933 DMC64ImageCommonFormat dmC64CommonFormats[] = | 933 DMC64ImageCommonFormat dmC64CommonFormats[] = |
934 { | 934 { |
935 { // #0: Koala Paint type memory layout | 935 { // #0: Koala Paint type memory layout |
936 D64_FMT_MC, | 936 D64_FMT_MC, |