>  2005/05/04 (水) 07:44:22        [qwerty]
> static GAMEVARIABLE_OPTION gamevariable_options[] =
> {
> 	{ "play_count",		RO_INT,		offsetof(game_variables_type, play_count),				NULL,				(const void *) 0},
> 	{ "play_time",		RO_INT, 	offsetof(game_variables_type, play_time),				NULL,				(const void *) 0},
> 	{ "rom_audit",		RO_INT,		offsetof(game_variables_type, rom_audit_results),		NULL,				(const void *) UNKNOWN },
> 	{ "samples_audit",	RO_INT,		offsetof(game_variables_type, samples_audit_results),	DriverUsesSamples,	(const void *) UNKNOWN },
> #ifdef MESS
> 	{ "extra_software",	RO_STRING,	offsetof(game_variables_type, mess.extra_software_paths),	NULL,				(const void *) "" }
> #endif
> };
> と
> void GetTextPlayTime(int driver_index,char *buf)
> {
> 	int hour, minute, second;
> 	int temp = game_variables[driver_index].play_time;
> 	assert(0 <= driver_index && driver_index < num_games);
> 	hour = temp / 3600;
> 	temp = temp - 3600*hour;
> 	minute = temp / 60; //Calc Minutes
> 	second = temp - 60*minute;
> 	if (hour == 0)
> 		sprintf(buf, "%d:%02d", minute, second );
> 	else
> 		sprintf(buf, "%d:%02d:%02d", hour, minute, second );
> }

保存場所どこぉ?

参考:2005/05/04(水)07時29分25秒