mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 14:14:43 +00:00
Another spot of kReplyOnce usage. Thanks to proper memory addressing now
it is possible to implement. svn-id: r16625
This commit is contained in:
parent
7a1f9bc2da
commit
86dc6a3d85
@ -1543,6 +1543,8 @@ void Script::SF_playVoice(SCRIPTFUNC_PARAMS) {
|
||||
}
|
||||
|
||||
void Script::finishDialog(int replyID, int flags, int bitOffset) {
|
||||
byte *addr;
|
||||
|
||||
if (_conversingThread) {
|
||||
_vm->_interface->setMode(kPanelNull);
|
||||
|
||||
@ -1551,7 +1553,8 @@ void Script::finishDialog(int replyID, int flags, int bitOffset) {
|
||||
_conversingThread->push(replyID);
|
||||
|
||||
if (flags & kReplyOnce) {
|
||||
// TODO:
|
||||
addr = _conversingThread->_staticBase + (bitOffset >> 3);
|
||||
*addr |= (1 << (bitOffset & 7));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user