Commit 51b30eda authored by Donald Haase's avatar Donald Haase
Browse files

Correct misnamed function call. Define protect functions now added in MB PR.

parent 04abd448
......@@ -32,6 +32,8 @@ const char *filenames[] = {
#define TIMEOUT_SECS 2
/* If old MB model, we don't have these nice helpers yet */
#ifdef VID_MAX_FB
/* These might be something to add into video.c */
void vid_disable(void) {
/* Blank screen and reset display enable (looks nicer) */
......@@ -44,6 +46,7 @@ void vid_enable(void) {
PVR_SET(PVR_VIDEO_CFG, PVR_GET(PVR_VIDEO_CFG) & ~8);
PVR_SET(PVR_FB_CFG_1, PVR_GET(PVR_FB_CFG_1) | 1);
}
#endif
void vid_shake(char speed) {
uint32 bitmapy = vid_mode->bitmapy;
......@@ -262,7 +265,7 @@ int main(int argc, char **argv) {
if(cur_secs > (start_secs + TIMEOUT_SECS)) {
start_secs = cur_secs;
//vid_flip(-1);
vid_squish(-1);
vid_shake(-1);
done--;
continue;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment