projects
/
eradicate
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fucked it up again, need to sleep
[eradicate]
/
src
/
dos
/
gfx.h
diff --git
a/src/dos/gfx.h
b/src/dos/gfx.h
index
fe4a499
..
ddb7da5
100644
(file)
--- a/
src/dos/gfx.h
+++ b/
src/dos/gfx.h
@@
-5,10
+5,13
@@
struct video_mode {
uint16_t mode;
struct video_mode {
uint16_t mode;
- short xsz, ysz, bpp;
+ short xsz, ysz, bpp, pitch;
short rbits, gbits, bbits;
short rshift, gshift, bshift;
uint32_t rmask, gmask, bmask;
short rbits, gbits, bbits;
short rshift, gshift, bshift;
uint32_t rmask, gmask, bmask;
+ uint32_t fb_addr;
+ short max_pages;
+ uint32_t bank_size;
};
#ifdef __cplusplus
};
#ifdef __cplusplus
@@
-36,6
+39,7
@@
enum {
};
/* page flip and return pointer to the start of the display area (front buffer) */
void *page_flip(int vsync);
};
/* page flip and return pointer to the start of the display area (front buffer) */
void *page_flip(int vsync);
+extern void (*blit_frame)(void *pixels, int vsync);
#ifdef __WATCOMC__
void wait_vsync(void);
#ifdef __WATCOMC__
void wait_vsync(void);