/*-----------------------------------------------------------------------------
	[TocDB.h]

	Copyright (C) 2004 Ki

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
-----------------------------------------------------------------------------*/
#ifndef TOC_DB_H_INCLUDED
#define TOC_DB_H_INCLUDED

#include "TypeDefs.h"

typedef struct
{
	Uint8	trackNum;
	Uint8	isAudio;
	Uint8	min;
	Uint8	sec;
	Uint8	frame;
	Uint8	lbaH;
	Uint8	lbaM;
	Uint8	lbaL;
} TOCINFO;

typedef struct
{
	char*		pTitle;
	TOCINFO		TOC[100+1]; //Kitao更新。コズミックファンタジーで100トラック目(リードアウト)が存在するので101が必要。v2.07
} DISCINFO;


const DISCINFO*
TOCDB_IsMatch(
	const DISCINFO*	pDisc);


//Kitao追加
void
TOCDB_ClearGameTitle();


//Kitao追加
char*
TOCDB_GetGameTitle();


//Kitao追加。v3.05
char*
TOCDB_GetGameTitleR();


#endif		/* TOC_DB_H_INCLUDED */
