ref: 1da95223f5742f437e20a8271e69d701b2f1aa9a
parent: 59035c9c9917a36e80b739a47615ada2c51d3c97
author: halfwit <michaelmisch1985@gmail.com>
date: Wed Oct 7 13:07:42 PDT 2020
We don't have much to process yet
--- a/x9dev.c
+++ b/x9dev.c
@@ -67,7 +67,13 @@
int
ddxProcessArgument(int argc, char **argv, int i)
{
- // Passed in arg[i], act on it
+ switch(argv[i]){
+ case "-D":
+ debug++;
+ return 1;
+ }
+
+ return 0;
}
void
--- a/x9dev.h
+++ b/x9dev.h
@@ -70,6 +70,8 @@
#define Kdown 0x80
#define NUMFORMATS (sizeof(formats)/sizeof((formats)[0]))
+int debug = 0;
+
static PixmapFormatRec formats[] = {
{ 1, 1, BITMAP_SCANLINE_PAD },
{ 8, 8, BITMAP_SCANLINE_PAD },