blargg_err_t Gzip_Extractor::stat_v()
{
	RETURN_ERR( open_arc_file( true ) );
	if ( !gr.opened() || gr.tell() != 0 )
		RETURN_ERR( gr.open( &arc() ) );
	
	set_info( gr.remain(), 0, gr.crc32() );
	return blargg_ok;
}
Beispiel #2
0
blargg_err_t Zip_Extractor::open_path_v()
{
	RETURN_ERR( open_arc_file( true ) );
	return File_Extractor::open_path_v();
}
Beispiel #3
0
blargg_err_t File_Extractor::open_path_v()
{
	RETURN_ERR( open_arc_file() );
	
	return open_v();
}
Beispiel #4
0
blargg_err_t Binary_Extractor::stat_v()
{
	RETURN_ERR( open_arc_file() );
	RETURN_ERR( arc().seek( 0 ) );
	return open_v();
}