Update to reflect zero's movie.h and driver.h changes
This commit is contained in:
parent
b5bce89e2e
commit
3fa4624317
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue