static struct screen *cur, *prev, *next;
static long trans_start, trans_dur;
+const char *dbg_curscr_name;
+int dbg_curscr_name_len, dbg_curscr_name_pos;
+
int scr_init(void)
{
int i, idx = 0;
void end_loadscr(void)
{
blitfb(loading_pixels + SPLAT_Y * 320 + SPLAT_X, loading_pixels + 320 * 240, 32, 72, 32);
- blitfb_key(loading_pixels + FING_Y * 320 + FING_LAST_X, loading_pixels + 247 * 320 + 64,
+ blit_key(loading_pixels + FING_Y * 320 + FING_LAST_X, 320, loading_pixels + 247 * 320 + 64,
FING_W, FING_H, FING_W, 0);
swap_buffers(loading_pixels);
sleep_msec(300);
dptr = loading_pixels + FING_Y * 320 + FING_X + prev_xoffs;
while(prev_xoffs < xoffs) {
- blitfb_key(dptr, sptr, FING_W, FING_H, FING_W, 0);
+ blit_key(dptr, 320, sptr, FING_W, FING_H, FING_W, 0);
dptr++;
prev_xoffs++;
}