Moved an if statement out of a function that prevented input.get from working properly with a mouse on movie playback. Just a quick fix.
This commit is contained in:
parent
0b96e69ca2
commit
9706c82a8c
|
@ -363,7 +363,8 @@ void FCEUD_UpdateInput()
|
|||
UpdateGamepad();
|
||||
|
||||
if(mouse)
|
||||
GetMouseData(MouseData);
|
||||
if(FCEUMOV_Mode() != MOVIEMODE_PLAY) //FatRatKnight: Moved this if out of the function
|
||||
GetMouseData(MouseData); //A more concise fix may be desired.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1080,11 +1080,6 @@ void LoadNewGamey(HWND hParent, const char *initialdir)
|
|||
|
||||
void GetMouseData(uint32 (&md)[3])
|
||||
{
|
||||
if(FCEUMOV_Mode() == MOVIEMODE_PLAY)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
md[0] = mousex;
|
||||
md[1] = mousey;
|
||||
|
||||
|
|
Loading…
Reference in New Issue