Update to reflect zero's movie.h and driver.h changes

This commit is contained in:
jeblanchard 2008-06-06 01:15:49 +00:00
parent b5bce89e2e
commit 3fa4624317
2 changed files with 5 additions and 4 deletions

View File

@ -27,6 +27,7 @@
#include "sdl-video.h"
#include "../common/cheat.h"
#include "../../movie.h"
#include "../../fceu.h"
@ -356,7 +357,7 @@ GetMouseData(uint32 *d)
uint32 t;
// Don't get input when a movie is playing back
if(FCEUI_IsMovieActive() < 0)
if(FCEUMOV_Mode(MOVIEMODE_PLAY))
return;
// retrieve the state of the mouse from SDL
@ -513,7 +514,7 @@ static void
UpdateGamepad(void)
{
// don't update during movie playback
if(FCEUI_IsMovieActive() < 0) {
if(FCEUMOV_Mode(MOVIEMODE_PLAY)) {
return;
}
@ -577,7 +578,7 @@ static uint32
UpdatePPadData(int w)
{
// don't update if a movie is playing
if(FCEUI_IsMovieActive() < 0) {
if(FCEUMOV_Mode(MOVIEMODE_PLAY)) {
return 0;
}

View File

@ -559,7 +559,7 @@ DUMMY(FCEUD_AviRecordTo)
DUMMY(FCEUD_AviStop)
void FCEUI_AviVideoUpdate(const unsigned char* buffer) { }
int FCEUD_ShowStatusIcon(void) {return 0;}
int FCEUI_AviIsRecording(void) {return 0;}
bool FCEUI_AviIsRecording(void) {return false;}
void FCEUI_UseInputPreset(int preset) { }
bool FCEUD_PauseAfterPlayback() { return false; }
bool moviePleaseLogSavestates = false;