view main.c @ 76:cd3457b7e098

*** empty log message ***
author gongo
date Thu, 09 Nov 2006 05:14:02 +0000
parents 6910aeb52843
children 8edae89a3877
line wrap: on
line source

/*
 * $Id$
 */
#include <stdio.h>
#include "libps2.h"
#include "ps2util.h"

extern void game_main();
FILE *main_fp;

int
main(int argc, char* argv[])
{
    main_fp = fopen("/dev/stdout", "w");
    if (!main_fp) {
	perror("main");
    }

    game_main();
    ps2util_graphic_Finish();
    return 0;
}