mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Add code for isVgaQueueEmpty() in PP
svn-id: r24031
This commit is contained in:
parent
5c3f7e4d5d
commit
b828f5e3bc
@ -142,7 +142,16 @@ bool AGOSEngine::kickoffTimeEvents() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool AGOSEngine::isVgaQueueEmpty() {
|
bool AGOSEngine::isVgaQueueEmpty() {
|
||||||
return true;
|
VgaTimerEntry *vte;
|
||||||
|
bool result = false;
|
||||||
|
|
||||||
|
while (vte->delay) {
|
||||||
|
if (vte->cur_vga_file == _variableArray[999] && vte->sprite_id >= 100) {
|
||||||
|
result = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AGOSEngine::addVgaEvent(uint16 num, const byte *code_ptr, uint16 cur_sprite, uint16 curZoneNum, int32 param) {
|
void AGOSEngine::addVgaEvent(uint16 num, const byte *code_ptr, uint16 cur_sprite, uint16 curZoneNum, int32 param) {
|
||||||
|
Loading…
Reference in New Issue
Block a user