# HG changeset patch # User tkaito # Date 1279614665 -32400 # Node ID 564096e53d8ad7138acedebd4274d618d9278705 # Parent 141e532dd1351a32b5d15f21945db812218291e2 set_game_task fix. diff -r 141e532dd135 -r 564096e53d8a Renderer/Engine/SceneGraphRoot.cc --- a/Renderer/Engine/SceneGraphRoot.cc Tue Jul 20 05:08:49 2010 +0900 +++ b/Renderer/Engine/SceneGraphRoot.cc Tue Jul 20 17:31:05 2010 +0900 @@ -717,7 +717,8 @@ void *e = node->propertyptr; int move = node->move_id; PostFunction post_func = node->post_func; - sgroot->set_game_task(move, (void*)e, size, post_func); + SceneGraphRoot *sgroottmp = (SceneGraphRoot*)sgroot_; + sgroottmp->set_game_task(move, (void*)e, size, post_func); } void diff -r 141e532dd135 -r 564096e53d8a Renderer/Engine/viewer.cc --- a/Renderer/Engine/viewer.cc Tue Jul 20 05:08:49 2010 +0900 +++ b/Renderer/Engine/viewer.cc Tue Jul 20 17:31:05 2010 +0900 @@ -177,7 +177,7 @@ spackList_length = (this->height + split_screen_h - 1) / split_screen_h; spackList = (SpanPack*)manager->allocate(sizeof(SpanPack)*spackList_length); -printf("spackList %0x height %d\n",(unsigned int)spackList, this->height); + printf("spackList %0x height %d\n",(unsigned long)spackList, this->height); /** * SPU に送る address list は 16 バイト倍数でないといけない。