# HG changeset patch # User gongo # Date 1163042838 0 # Node ID 4af6c92304bb8d882307d0570b673f6a9f061d23 # Parent 3e7db5ef4691e22839a0f45318633e2b7344d1f2 *** empty log message *** diff -r 3e7db5ef4691 -r 4af6c92304bb linda.c --- a/linda.c Thu Nov 09 03:16:22 2006 +0000 +++ b/linda.c Thu Nov 09 03:27:18 2006 +0000 @@ -300,7 +300,7 @@ } if (p == 1 && connect == CLIENT_MAX) { - linda_set_schedule(linda_sche_ready0, MODE_READY); + linda_set_schedule(linda_sche_main_init0, MODE_READY); return TRUE; } else { return FALSE; @@ -318,7 +318,7 @@ game.course_id = course_id; return FALSE; } else if (mode == MODE_READY) { - linda_set_schedule(linda_sche_ready1, MODE_READY); + linda_set_schedule(linda_sche_main_init1, MODE_READY); return TRUE; } else { return FALSE; @@ -327,14 +327,14 @@ static Bool -linda_sche_ready0(int p) +linda_sche_main_init0(int p) { linda_set_schedule(linda_sche_main0, MODE_MAIN); return TRUE; } static Bool -linda_sche_ready1(int p) +linda_sche_main_init1(int p) { linda_set_schedule(linda_sche_main1, MODE_MAIN); return TRUE; @@ -346,15 +346,13 @@ FMATRIX data; static int i=0; - if (i++ > 100) { - ps2_vu0_unit_matrix(data); - ps2_vu0_copy_matrix(data, game.jiki->body->transfer); - ps2_vu0_copy_vector(data[3], game.jiki->location); + ps2_vu0_unit_matrix(data); + ps2_vu0_copy_matrix(data, game.jiki->body->transfer); + ps2_vu0_copy_vector(data[3], game.jiki->location); - linda_seq[game.play_id] = psx_in(game.play_id); - send_packet(game.play_id, MODE_MAIN, 1, 1, (char*)data); - i = 0; - } + linda_seq[game.play_id] = psx_in(game.play_id); + send_packet(game.play_id, MODE_MAIN, 1, 1, (char*)data); + return FALSE; }