Merged o_lockZone() and o_unlockZone() into o1_lockZones() and o1_unlockZones()

svn-id: r21749
This commit is contained in:
Torbjörn Andersson 2006-04-10 07:17:06 +00:00
parent f444a68ffa
commit 50700d7ac6
2 changed files with 3 additions and 13 deletions

View file

@ -1319,12 +1319,13 @@ void SimonEngine::o1_b2NotZero() {
void SimonEngine::o1_lockZones() {
// 175: vga pointer op 1
o_lockZone();
_vgaBufStart = _vgaBufFreeStart;
}
void SimonEngine::o1_unlockZones() {
// 176: vga pointer op 2
o_unlockZone();
_vgaBufFreeStart = _vgaFileBufOrg;
_vgaBufStart = _vgaFileBufOrg;
}
void SimonEngine::o1_screenTextPObj() {
@ -1955,15 +1956,6 @@ void SimonEngine::o_unfreezeBottom() {
_vgaFileBufOrg = _vgaFileBufOrg2;
}
void SimonEngine::o_lockZone() {
_vgaBufStart = _vgaBufFreeStart;
}
void SimonEngine::o_unlockZone() {
_vgaBufFreeStart = _vgaFileBufOrg;
_vgaBufStart = _vgaFileBufOrg;
}
void SimonEngine::o_sync(uint a) {
uint16 id = to16Wrapper(a);
_lockWord |= 0x8000;