Removed some useless code.

This commit is contained in:
n-a-c-h
2005-03-27 21:35:00 +00:00
parent 04cdcc2b5e
commit 985dccf360

View File

@@ -53,7 +53,6 @@ extern unsigned char MovieStartMethod, GUIReset, ReturnFromSPCStall, GUIQuit;
extern unsigned char MovieProcessing, *Msgptr, fnamest[512];
extern unsigned char CMovieExt;
extern bool romispal;
bool firstloop;
void GUIDoReset();
void powercycle(bool);
@@ -570,7 +569,6 @@ static void zmv_create(char *filename)
zst_save(zmv_vars.fp, false);
zmv_vars.filename = (char *)malloc(filename_len+1); //+1 for null
strcpy(zmv_vars.filename, filename);
firstloop = true;
}
else
{
@@ -744,8 +742,6 @@ static bool zmv_open(char *filename)
Msgptr = "MOVIE STARTED.";
}
firstloop = true;
fseek(zmv_vars.fp, -(EXT_CHAP_COUNT_END_DIST), SEEK_END);
zmv_open_vars.external_chapter_count = fread2(zmv_vars.fp);
@@ -1656,7 +1652,7 @@ void SkipMovie()
void MovieStop()
{
if (firstloop)
if (MovieProcessing)
{
switch (MovieProcessing)
{
@@ -1685,7 +1681,6 @@ void MovieStop()
SetMovieMode(MOVIE_OFF);
SRAMState = PrevSRAMState;
}
else { firstloop = true; }
}
void MoviePlay()