summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authornotaz2011-09-03 00:55:13 +0300
committernotaz2011-09-03 01:01:17 +0300
commitee0a3871f9982215361cd6bb4758eb9a7c7d8413 (patch)
tree6fc70e291e80ac7cda7c7438cb48ca0b89a7879d /common.h
parentd5e0983c10e0ca717603dd1a406ff0d6e450e905 (diff)
downloadpicogpsp-ee0a3871f9982215361cd6bb4758eb9a7c7d8413.tar.gz
picogpsp-ee0a3871f9982215361cd6bb4758eb9a7c7d8413.tar.bz2
picogpsp-ee0a3871f9982215361cd6bb4758eb9a7c7d8413.zip
get rid of GP2X_BUILD checks where they are not really needed
Diffstat (limited to 'common.h')
-rw-r--r--common.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/common.h b/common.h
index 0f800d6..6b1cf95 100644
--- a/common.h
+++ b/common.h
@@ -157,30 +157,6 @@
#define file_tag_type FILE *
- // The ARM arch uses SDL, and SDL requires you to know what resolution
- // you want. Define the resolution for ARM arch builds here.
- // Placed in common.h for use with video.c and gui.c.
-
- #ifndef PC_BUILD
-
- #define GP2X_SCREEN_WIDTH 320
- #define GP2X_SCREEN_HEIGHT 240
-
- #define GIZ_SCREEN_WIDTH 320
- #define GIZ_SCREEN_HEIGHT 240
-
- #ifdef GP2X_BUILD
- #define SDL_SCREEN_WIDTH GP2X_SCREEN_WIDTH
- #define SDL_SCREEN_HEIGHT GP2X_SCREEN_HEIGHT
-
- #elif defined(GIZ_BUILD)
-
- #define SDL_SCREEN_WIDTH GIZ_SCREEN_WIDTH
- #define SDL_SCREEN_HEIGHT GIZ_SCREEN_HEIGHT
- #endif
-
- #endif
-
#endif
// These must be variables, not constants.