summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorDuncan Smith2010-07-24 17:13:24 -0700
committerDuncan Smith2010-07-24 17:13:24 -0700
commitfdf99cd759a2a58c729cd4f4f82399b4d76a4bd9 (patch)
tree5dee32358e058b06cdfc42c74052d9c0195faac8 /video.c
parent53687e9aec854b649e457fc680af4b65f38a6c3d (diff)
Again, I shouldn't be trusted to write C ...
Diffstat (limited to 'video.c')
-rw-r--r--video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video.c b/video.c
index 3d9c498..21ae989 100644
--- a/video.c
+++ b/video.c
@@ -51,7 +51,7 @@ char video_read(void)
short int data = *((short int *)addr);
data <<= (shift-8);
data &= 0xff;
- return;
+ return data;
}
void *video_compute_address()