mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-26 00:29:29 +00:00
utils: fix odd bug in shape_table
This commit is contained in:
parent
d7ebc52fcd
commit
4d82766a00
|
@ -11,7 +11,11 @@
|
||||||
/* data packed in as XX YYY ZZZ */
|
/* data packed in as XX YYY ZZZ */
|
||||||
/* ZZZ = first dir, YYY = next, XX = last, can only be no-draw as 2 bits */
|
/* ZZZ = first dir, YYY = next, XX = last, can only be no-draw as 2 bits */
|
||||||
/* note XX can't be NUP (00) */
|
/* note XX can't be NUP (00) */
|
||||||
|
/* */
|
||||||
|
/* NUP=0 UP=4 */
|
||||||
|
/* NRT=1 RT=5 */
|
||||||
|
/* NDN=2 DN=6 */
|
||||||
|
/* NLT=3 LT=7 */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -274,11 +278,12 @@ int main(int argc, char **argv) {
|
||||||
else {
|
else {
|
||||||
/* write to LOC_C */
|
/* write to LOC_C */
|
||||||
|
|
||||||
if (current_offset==8) {
|
// if (current_offset==8) {
|
||||||
}
|
/* What?? why?? */
|
||||||
else {
|
// }
|
||||||
|
// else {
|
||||||
table[current_offset]|=((command&0x3)<<6);
|
table[current_offset]|=((command&0x3)<<6);
|
||||||
}
|
// }
|
||||||
|
|
||||||
warn_if_zero(table[current_offset],line);
|
warn_if_zero(table[current_offset],line);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user