projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
polyfill debugging mode
[dosdemo]
/
src
/
plasma.c
diff --git
a/src/plasma.c
b/src/plasma.c
index
063fb78
..
05f68e4
100644
(file)
--- a/
src/plasma.c
+++ b/
src/plasma.c
@@
-22,15
+22,15
@@
static struct screen scr = {
draw
};
draw
};
-unsigned long startingTime;
+static unsigned long startingTime;
#define PSIN_SIZE 4096
#define PPAL_SIZE 256
#define PSIN_SIZE 4096
#define PPAL_SIZE 256
-unsigned char *psin1, *psin2, *psin3;
-unsigned short *plasmaPal;
+static unsigned char *psin1, *psin2, *psin3;
+static unsigned short *plasmaPal;
-unsigned short myBuffer[320*240];
+static unsigned short myBuffer[320 * 240];
struct screen *plasma_screen(void)
struct screen *plasma_screen(void)
@@
-116,7
+116,7
@@
static void draw(void)
}
}
}
}
- drawFps((unsigned short*)fb_pixels);
+ drawFps((unsigned short*)vmem_back);
swap_buffers(0);
}
swap_buffers(0);
}