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 "sdl-video.h"
|
||||||
|
|
||||||
#include "../common/cheat.h"
|
#include "../common/cheat.h"
|
||||||
|
#include "../../movie.h"
|
||||||
#include "../../fceu.h"
|
#include "../../fceu.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -356,7 +357,7 @@ GetMouseData(uint32 *d)
|
||||||
uint32 t;
|
uint32 t;
|
||||||
|
|
||||||
// Don't get input when a movie is playing back
|
// Don't get input when a movie is playing back
|
||||||
if(FCEUI_IsMovieActive() < 0)
|
if(FCEUMOV_Mode(MOVIEMODE_PLAY))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// retrieve the state of the mouse from SDL
|
// retrieve the state of the mouse from SDL
|
||||||
|
@ -513,7 +514,7 @@ static void
|
||||||
UpdateGamepad(void)
|
UpdateGamepad(void)
|
||||||
{
|
{
|
||||||
// don't update during movie playback
|
// don't update during movie playback
|
||||||
if(FCEUI_IsMovieActive() < 0) {
|
if(FCEUMOV_Mode(MOVIEMODE_PLAY)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -577,7 +578,7 @@ static uint32
|
||||||
UpdatePPadData(int w)
|
UpdatePPadData(int w)
|
||||||
{
|
{
|
||||||
// don't update if a movie is playing
|
// don't update if a movie is playing
|
||||||
if(FCEUI_IsMovieActive() < 0) {
|
if(FCEUMOV_Mode(MOVIEMODE_PLAY)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -559,7 +559,7 @@ DUMMY(FCEUD_AviRecordTo)
|
||||||
DUMMY(FCEUD_AviStop)
|
DUMMY(FCEUD_AviStop)
|
||||||
void FCEUI_AviVideoUpdate(const unsigned char* buffer) { }
|
void FCEUI_AviVideoUpdate(const unsigned char* buffer) { }
|
||||||
int FCEUD_ShowStatusIcon(void) {return 0;}
|
int FCEUD_ShowStatusIcon(void) {return 0;}
|
||||||
int FCEUI_AviIsRecording(void) {return 0;}
|
bool FCEUI_AviIsRecording(void) {return false;}
|
||||||
void FCEUI_UseInputPreset(int preset) { }
|
void FCEUI_UseInputPreset(int preset) { }
|
||||||
bool FCEUD_PauseAfterPlayback() { return false; }
|
bool FCEUD_PauseAfterPlayback() { return false; }
|
||||||
bool moviePleaseLogSavestates = false;
|
bool moviePleaseLogSavestates = false;
|
||||||
|
|
Loading…
Reference in New Issue