This commit is contained in:
Paul 2001-08-07 15:16:54 +00:00
parent d3d7f97b41
commit 8aeb35d3ae
3 changed files with 18 additions and 9 deletions

View file

@ -22,6 +22,9 @@
#include "fmv\fmv.h" #include "fmv\fmv.h"
#endif #endif
#ifndef __VID_HEADER_
#include "system\vid.h"
#endif
#ifndef __GFX_FADER_H__ #ifndef __GFX_FADER_H__
#include "gfx\fader.h" #include "gfx\fader.h"
@ -79,6 +82,7 @@ static bool fmvPerFrameFunc()
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
void CFrontEndFMVIntro::select() void CFrontEndFMVIntro::select()
{ {
StopLoad();
FMV_play(FMV_INTRO,&fmvPerFrameFunc); FMV_play(FMV_INTRO,&fmvPerFrameFunc);
} }

View file

@ -22,6 +22,9 @@
#include "fmv\fmv.h" #include "fmv\fmv.h"
#endif #endif
#ifndef __VID_HEADER_
#include "system\vid.h"
#endif
#ifndef __GFX_FADER_H__ #ifndef __GFX_FADER_H__
#include "gfx\fader.h" #include "gfx\fader.h"
@ -79,6 +82,7 @@ static bool fmvPerFrameFunc()
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
void CFrontEndFMVTHQ::select() void CFrontEndFMVTHQ::select()
{ {
StopLoad();
FMV_play(FMV_THQ,&fmvPerFrameFunc); FMV_play(FMV_THQ,&fmvPerFrameFunc);
FMV_play(FMV_CLIMAX,&fmvPerFrameFunc); FMV_play(FMV_CLIMAX,&fmvPerFrameFunc);
} }

View file

@ -114,18 +114,19 @@ void StartLoad(int _loadX,int _loadY)
/*****************************************************************************/ /*****************************************************************************/
void StopLoad() void StopLoad()
{ {
if(DrawLoadIcon)
{
#if defined(__USER_CDBUILD__) #if defined(__USER_CDBUILD__)
while(LoadTime) while(LoadTime)
{ {
VSync(0); VSync(0);
} }
#endif #endif
Screen[0].Draw.isbg=Screen[1].Draw.isbg=1; Screen[0].Draw.isbg=Screen[1].Draw.isbg=1;
DrawLoadIcon=0;
SYSTEM_DBGMSG("Stop Load");
DrawLoadIcon=0;
SYSTEM_DBGMSG("Stop Load");
}
} }
/*****************************************************************************/ /*****************************************************************************/