From 914c6a0ad85681046be78310e460134c838d6b4b Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Sun, 29 Apr 2012 15:37:06 +0000
Subject: [PATCH] At least in the context of compacted bitmap handling it seems
appropriate to abstract that the Apple DHGR screen has these dimensions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5656 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
include/geos/ggraph.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/geos/ggraph.h b/include/geos/ggraph.h
index 2e102a162..f28199760 100644
--- a/include/geos/ggraph.h
+++ b/include/geos/ggraph.h
@@ -93,15 +93,17 @@ void __fastcall__ GraphicsString(char *myGfxString);
/* VIC screen sizes */
#define VIC_X_POS_OFF 24
#define VIC_Y_POS_OFF 50
-#define SC_BYTE_WIDTH 40
#ifdef __GEOS_CBM__
+#define SC_BYTE_WIDTH 40
#define SC_PIX_HEIGHT 200
#define SC_PIX_WIDTH 320
+#define SC_SIZE 8000
#else
+#define SC_BYTE_WIDTH 70
#define SC_PIX_HEIGHT 192
#define SC_PIX_WIDTH 560
+#define SC_SIZE 13440
#endif
-#define SC_SIZE 8000
/* VDC screen constants */
#define SCREENBYTEWIDTH 80
#define SCREENPIXELWIDTH 640
--
2.39.5