rename all waitvblank() to waitvsync()
This commit is contained in:
@@ -117,8 +117,8 @@ void main(void)
|
||||
gotoxy(7 + inpos,1);
|
||||
|
||||
#if defined(__NES__) || defined(__PCE__) || defined(__GAMATE__)
|
||||
/* not all targets have waitvblank */
|
||||
waitvblank();
|
||||
/* not all targets have waitvsync */
|
||||
waitvsync();
|
||||
/* for targets that do not have a keyboard, read the first
|
||||
joystick */
|
||||
joy = joy_read(JOY_1);
|
||||
|
||||
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
}
|
||||
|
||||
waitvblank();
|
||||
waitvsync();
|
||||
|
||||
(*((unsigned char*)LCD_XPOS)) = x;
|
||||
(*((unsigned char*)LCD_YPOS)) = y;
|
||||
|
||||
@@ -123,7 +123,7 @@ void main(void)
|
||||
p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]);
|
||||
}
|
||||
|
||||
waitvblank();
|
||||
waitvsync();
|
||||
++n;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user