aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2003-05-24 09:05:25 +0000
committerTravis Howell2003-05-24 09:05:25 +0000
commit7febca050b407c4d35dcdfcfd6b68ff973f1bb59 (patch)
tree6300566b4038894537bcda7a477995836378ef93 /simon
parent3fbae51dc06d60e453fa90b79c0af8eb983bc5c9 (diff)
downloadscummvm-rg350-7febca050b407c4d35dcdfcfd6b68ff973f1bb59.tar.gz
scummvm-rg350-7febca050b407c4d35dcdfcfd6b68ff973f1bb59.tar.bz2
scummvm-rg350-7febca050b407c4d35dcdfcfd6b68ff973f1bb59.zip
Remove a few old asserts and xxx which was not needed
svn-id: r7880
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp3
-rw-r--r--simon/vga.cpp2
2 files changed, 0 insertions, 5 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 3c6462d26e..79b7b8bbf5 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -2301,7 +2301,6 @@ void SimonState::set_video_mode_internal(uint mode, uint vga_res_id) {
}
_lock_word &= ~0x20;
- // XXX: fix
if (!(_game & GF_SIMON2)) {
if (_unk_pal_flag) {
@@ -2462,8 +2461,6 @@ void SimonState::vc_resume_thread(byte *code_ptr, uint16 cur_file, uint16 cur_sp
void SimonState::add_vga_timer(uint num, byte *code_ptr, uint cur_sprite, uint cur_file) {
VgaTimerEntry *vte;
-// assert( (uint)READ_BE_UINT16_UNALIGNED(&*(uint16*)code_ptr) <= 63);
-
_lock_word |= 1;
for (vte = _vga_timer_list; vte->delay; vte++) {
diff --git a/simon/vga.cpp b/simon/vga.cpp
index 9ed6ad810b..3fc4bb7758 100644
--- a/simon/vga.cpp
+++ b/simon/vga.cpp
@@ -1482,8 +1482,6 @@ void SimonState::vc_48() {
p += step;
y1 = READ_BE_UINT16_UNALIGNED(p) - y2;
-// assert(READ_BE_UINT16_UNALIGNED(&p[1]) != 999);
-
vp[0] = y1 >> 1;
vp[1] = y1 - (y1 >> 1);