mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
videoIsLoaded() -> isVideoLoaded()
svn-id: r35777
This commit is contained in:
parent
2e1fa58cf8
commit
9752501a07
@ -40,13 +40,13 @@ MoviePlayer::MoviePlayer(ScummEngine_v90he *vm, Audio::Mixer *mixer)
|
||||
}
|
||||
|
||||
int MoviePlayer::getImageNum() {
|
||||
if (!videoIsLoaded())
|
||||
if (!isVideoLoaded())
|
||||
return 0;
|
||||
return _wizResNum;
|
||||
}
|
||||
|
||||
int MoviePlayer::load(const char *filename, int flags, int image) {
|
||||
if (videoIsLoaded()) {
|
||||
if (isVideoLoaded()) {
|
||||
closeFile();
|
||||
}
|
||||
|
||||
@ -67,7 +67,7 @@ int MoviePlayer::load(const char *filename, int flags, int image) {
|
||||
}
|
||||
|
||||
void MoviePlayer::handleNextFrame() {
|
||||
if (!videoIsLoaded()) {
|
||||
if (!isVideoLoaded()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@ public:
|
||||
/**
|
||||
* Returns if a video file is loaded or not
|
||||
*/
|
||||
bool videoIsLoaded() { return (_fileStream != NULL); }
|
||||
bool isVideoLoaded() { return (_fileStream != NULL); }
|
||||
|
||||
/**
|
||||
* Set RGB palette, based on current frame
|
||||
|
Loading…
Reference in New Issue
Block a user