Commit Graph
8 Commits
Author SHA1 Message Date
angstsmurf e27d1ae160 GLK: SCOTT: Fix out-of-bounds write
If nv or nn (number of verbs or number of nouns) is equal to or larger than the number
of words + 2, this loop will try to write out of bounds and assert. This happens for
example in the C64 version of The Golden Baton.

To fix this, it is really enough to change the >= operator to >, but I took the opportunity
to simplify the code a bit as well.
2022-12-16 12:43:56 +02:00
Eugene Sandulenko 74cd80a92c GLK: SCOTT: Fix copy/paste reeor. CID 1488039 2022-10-08 01:38:33 +02:00
D G Turner aefe3b5957 GLK: SCOTT: Fix Various GCC Compiler Warnings 2022-06-23 22:45:11 +01:00
Avijeet 6a11c2bc10 GLK: SCOTT: Fix text decompression 2022-06-23 20:11:01 +02:00
Avijeet f591a6a186 GLK: SCOTT: Add support for Robin of Sherwood 2022-06-23 20:11:01 +02:00
Avijeet 1ec46bdd30 GLK: SCOTT: Update license header 2022-06-23 20:11:01 +02:00
Avijeet 45f7e4751e GLK: SCOTT: Replace error with warning 2022-06-23 20:11:01 +02:00
Avijeet 9c4c8af24c GLK: SCOTT: Refactor detect_game
Use the md5 hash to directly load the game without having to iterate through the game list. Also rename detect_game to load_game and move the resource loading to resource.cpp.
2022-06-23 20:11:01 +02:00