1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>THPSimplePreLoad</title> 10</head> 11 12<body> 13 14<h1>THPSimplePreLoad</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include "THPSimple.h" 19 20BOOL THPSimplePreLoad(s32 loop); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<th>loop</th> 27<td>THP movie data playback method.</td> 28 </tr> 29</table> 30 31<h2>Return Values</h2> 32<p>Returns <CODE>TRUE</CODE> if successful, <CODE>FALSE</CODE> otherwise.</p> 33 34<H2>Description</H2> 35<p>The <code>THPSimplePreLoad</code> function loads <CODE>READ_BUFFER_NUM</CODE> frames of THP movie data by calling the <code>DVDRead</code> function as preparation for playing the THP movie data.</p> 36 37<p>The THP movie data playback method is set as an argument of the <code>THPSimplePreLoad</code> function. The values that the argument takes are <CODE>THP_PLAY_LOOP</CODE> or <CODE>THP_PLAY_ONESHOT</CODE>. If the argument is <CODE>THP_PLAY_LOOP</CODE>, the THP movie data will be played as a loop. If the argument is <CODE>THP_PLAY_ONESHOT</CODE>, the THP movie data will be played once.</p> 38 39<H2>See Also</H2> 40<p>None.</p> 41 42<H2>Revision History</H2> 43<P> 442006/03/01 Initial version.<br> 45</P> 46 47<hr><p>CONFIDENTIAL</p></body> 48</html>