summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authornotaz2012-10-05 02:02:26 +0300
committernotaz2012-10-06 19:15:06 +0300
commit108c704a364e89d071c67f929a292f05d019236a (patch)
treeb4e75d773dc6846e65a4e5345818a93e7274cc7b /video.c
parent40a392b00d8a4b812a61956509f7379ca1f396bc (diff)
downloadpicogpsp-108c704a364e89d071c67f929a292f05d019236a.tar.gz
picogpsp-108c704a364e89d071c67f929a292f05d019236a.tar.bz2
picogpsp-108c704a364e89d071c67f929a292f05d019236a.zip
initial Caanoo port
plus some random tweaks
Diffstat (limited to 'video.c')
-rw-r--r--video.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/video.c b/video.c
index f611520..4112daa 100644
--- a/video.c
+++ b/video.c
@@ -86,12 +86,14 @@ static void Ge_Finish_Callback(int id, void *arg)
#define get_screen_pitch() \
screen_pitch \
-#elif defined(WIZ_BUILD)
+#elif defined(POLLUX_BUILD)
static u16 rot_buffer[240*4];
static u32 rot_lines_total = 4;
static u32 rot_line_count = 0;
+#ifdef WIZ_BUILD
static char rot_msg_buff[64];
+#endif
static u32 screen_offset = 0;
static u16 *screen_pixels = NULL;
@@ -3356,7 +3358,7 @@ void flip_screen()
}
}
-#elif defined(WIZ_BUILD)
+#elif defined(POLLUX_BUILD)
void flip_screen()
{
@@ -3602,7 +3604,7 @@ void init_video()
GE_CMD(NOP, 0);
}
-#elif defined(WIZ_BUILD) || defined(PND_BUILD)
+#elif defined(POLLUX_BUILD) || defined(PND_BUILD)
void init_video()
{
@@ -3737,7 +3739,7 @@ void clear_screen(u16 color)
sceGuSync(0, 0); */
}
-#elif defined(WIZ_BUILD)
+#elif defined(POLLUX_BUILD)
void video_resolution_large()
{