Disable debug stuff
This commit is contained in:
parent
bdec20b07d
commit
ff3a907103
@ -40,6 +40,8 @@ make cleansub
|
|||||||
```
|
```
|
||||||
will clean the current directory
|
will clean the current directory
|
||||||
|
|
||||||
|
**Make sure to `make clean` before trying to compile again, or you will have errors showing up.**
|
||||||
|
|
||||||
## Creating the disk image
|
## Creating the disk image
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
#define printf ramsyscall_printf
|
#define printf ramsyscall_printf
|
||||||
#define DBG_FNTX 32
|
#define DBG_FNTX 32
|
||||||
#define DBG_FNTY 200
|
#define DBG_FNTY 200
|
||||||
|
//#define DEBUG
|
||||||
DISPENV disp[2]; // Double buffered DISPENV and DRAWENV
|
DISPENV disp[2]; // Double buffered DISPENV and DRAWENV
|
||||||
DRAWENV draw[2];
|
DRAWENV draw[2];
|
||||||
char primbuff[2][32768]; // double primitive buffer of length 32768 * 8 = 262.144 bits / 32,768 Kbytes
|
char primbuff[2][32768]; // double primitive buffer of length 32768 * 8 = 262.144 bits / 32,768 Kbytes
|
||||||
@ -405,8 +406,10 @@ int main() {
|
|||||||
t = 0;
|
t = 0;
|
||||||
}
|
}
|
||||||
t++;
|
t++;
|
||||||
FntPrint(0, "Mothership: %d\nOvl: %d %d %d\n%x %x %x\nstr x: %d", t, prev_overlay, next_overlay, curItem, nextpri, primbuff[0], primbuff[1], curStr->x);
|
#ifdef DEBUG
|
||||||
FntFlush(0);
|
FntPrint(0, "Mothership: %d\nOvl: %d %d %d\n%x %x %x\nstr x: %d", t, prev_overlay, next_overlay, curItem, nextpri, primbuff[0], primbuff[1], curStr->x);
|
||||||
|
FntFlush(0);
|
||||||
|
#endif
|
||||||
display();
|
display();
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user