angstsmurf
b87fd75ed0
GLK: SCOTT: UNP64: Update license
...
Parts of the code of Unp64 comes from Exomizer, a tool which uses
as modified Zlib license which is not compatible with GPL. The author of
Exomizer, Magnus Lind, has given permission to distribute this code under
unmodified Zlib license, so I have updated that here.
(The author of Unp64, iAN CooG, has agreed to let us distribute his code
under a GPL license. Or any license we want, to be precise.)
2023-01-13 23:58:04 +01:00
elasota
e280186a8c
ALL: VS warning cleanup
2022-12-25 16:31:57 +01:00
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
D G Turner
8bc926886c
GLK: SCOTT: Fix Misleading Indentation GCC Compiler Warning
2022-12-14 09:31:41 +00:00
angstsmurf
387dd08f5d
GLK: SCOTT: Fix leak in disk_image.cpp
...
The method diCreateFromData() is set up as if it is going to copy the
data supplied by the caller to the _image member, allocating memory for
it, but then just assigns the data to it instead, leaking the allocated
memory.
This also means that if the data supplied is not a valid disk image, it
will delete the original data in the default case.
We fix this by just removing the allocation and the deletion. An
alternative would have been to actually copy the data instead.
2022-12-13 20:03:58 -08:00
Eugene Sandulenko
733064565e
GLK: SCOTT: Fix mismatched new[]/delete. CID 1488026, 1488033
2022-11-20 19:07:28 +01:00
Le Philousophe
6d3a10c631
GLK: Don't use unsafe sprintf and vsprintf
2022-10-23 22:46:19 +02:00
Le Philousophe
93cdbbbf39
GLK: Don't use unsafe strcat and strcpy
2022-10-23 22:46:19 +02:00
Walter Agazzi
3b59508f6d
GLK: SCOTT: Add detection for TI-99 Homebrew games collection
2022-10-21 20:02:56 +02:00
Walter Agazzi
be3abd3c26
GLK: SCOTT: Add detection for Ghost King
2022-10-21 20:02:56 +02:00
Walter Agazzi
2d33e5d318
GLK: SCOTT: Ignore common extensions to prevent mass add flooding
...
Avoid picking any .d64 (Commodore disc) or .t64 (Commodore tape)
as a possible Scott game, to prevent conflicts with the detection of
Maniac Mansion / Zak C64 and possibile flooding in mass-add.
2022-10-20 18:56:42 -07:00
Walter Agazzi
611dea205c
GLK: SCOTT: Add missing fallback detection entry
2022-10-20 18:56:42 -07:00
Eugene Sandulenko
74cd80a92c
GLK: SCOTT: Fix copy/paste reeor. CID 1488039
2022-10-08 01:38:33 +02:00
D G Turner
c4174f6e9b
GLK: SCOTT: Fix Type Limits Make Comparison Always False GCC Warning
...
While this could be fixed in other ways, this works for both signed
and unsigned 8 bit types avoiding the type issues for char.
2022-07-05 22:42:01 +01:00
Avijeet
a662df81c7
COMMON: Rename TI99 platform
2022-07-02 15:17:53 +02:00
Avijeet
264c3541c7
GLK: SCOTT: Fix incorrect type cast
2022-07-02 15:17:53 +02:00
Avijeet
74ccdfe57b
GLK: SCOTT: Fix signed/unsigned mismatch
2022-07-02 15:17:53 +02:00
Avijeet
28fcbeb230
GLK: SCOTT: Add TI-99/4A games to detection
2022-07-02 15:17:53 +02:00
Avijeet
4367c39472
GLK: SCOTT: Fix bugs in TI99 game loading
2022-07-02 15:17:53 +02:00
Avijeet
5aadf6e7e0
GLK: SCOTT: Implement performTI99Line
2022-07-02 15:17:53 +02:00
Avijeet
9e4d5408de
GLK: SCOTT: Implement runExplicitTI99Actions
2022-07-02 15:17:53 +02:00
Avijeet
49e9f404d2
GLK: SCOTT: Implement runImplicitTI99Actions
2022-07-02 15:17:53 +02:00
Avijeet
c6e730a291
GLK: SCOTT: Add ti99_4a_terp.h/cpp
2022-07-02 15:17:53 +02:00
Avijeet
f6a6b83367
GLK: SCOTT: Implement loadTitleScreen
2022-07-02 15:17:53 +02:00
Avijeet
b90a145c29
GLK: SCOTT: Implement readTI99ExplicitActions
2022-07-02 15:17:53 +02:00
Avijeet
3d9f511881
GLK: SCOTT: Implement readTI99ImplicitActions
2022-07-02 15:17:53 +02:00
Avijeet
309dab7c8f
GLK: SCOTT: Implement getTI994AWord
2022-07-02 15:17:53 +02:00
Avijeet
db6b013402
GLK: SCOTT: Implement getTI994AString and getWord
2022-07-02 15:17:53 +02:00
Avijeet
46fb85112d
GLK: SCOTT: Implement fixWord
2022-07-02 15:17:53 +02:00
Avijeet
93e7d4de16
GLK: SCOTT: Implement fixAddress
2022-07-02 15:17:53 +02:00
Avijeet
64bc7401b8
GLK: SCOTT: Implement tryLoadingTI994A
2022-07-02 15:17:53 +02:00
Avijeet
08ae18b5b4
GLK: SCOTT: Implement getMaxTI99Items
2022-07-02 15:17:53 +02:00
Avijeet
f0b030b971
GLK: SCOTT: Implement getMaxTI99Messages
2022-07-02 15:17:53 +02:00
Avijeet
0557e9818c
GLK: SCOTT: Implement detectTI994A
2022-07-02 15:17:53 +02:00
Avijeet
23f4211038
GLK: SCOTT: Add TI99 loading
2022-07-02 15:17:53 +02:00
Le Philousophe
55312a2fc9
GLK: Finx int vs int32 discrepancies
2022-06-26 15:55:32 +02:00
Avijeet
e28966a2b6
GLK: SCOTT: Fix incorrect detection entry
2022-06-24 15:27:17 +02:00
Avijeet
85b381859f
GLK: SCOTT: Add platform data to detection entries
2022-06-24 15:27:17 +02:00
Avijeet
2256d19a0c
GLK: SCOTT: Include platform data in game detection entry
2022-06-24 15:27:17 +02:00
D G Turner
e95b2054b4
GLK: SCOTT: Fix Remaining GCC Compiler Warnings
2022-06-23 23:51:50 +01:00
D G Turner
e123d86704
GLK: SCOTT: Fix Likely Incorrect Fallthrough in UNP64 6502 Emulator Code
2022-06-23 23:21:37 +01:00
D G Turner
aefe3b5957
GLK: SCOTT: Fix Various GCC Compiler Warnings
2022-06-23 22:45:11 +01:00
D G Turner
70711c0070
GLK: SCOTT: Fix Missing Field Initializer GCC Compiler Warnings
...
These are emitted if -Wmissing-field-initializers is passed to GCC.
2022-06-23 22:19:17 +01:00
Avijeet
fdfd91fd7f
GLK: SCOTT: Add support for Super Gran
2022-06-23 20:11:01 +02:00
Avijeet
0d4e18e5c7
GLK: SCOTT: Reorganise switch case
2022-06-23 20:11:01 +02:00
Avijeet
fd0b4ef953
GLK: SCOTT: Add more variants to game detection
2022-06-23 20:11:01 +02:00
Avijeet
ff02ca6def
GLK: SCOTT: Add support for Questprobe Games
2022-06-23 20:11:01 +02:00
Avijeet
b45eecac99
GLK: SCOTT: Add support for Savage Island
2022-06-23 20:11:01 +02:00
Avijeet
951e1a8240
GLK: SCOTT: Add support for Adventure Land
2022-06-23 20:11:01 +02:00
Avijeet
ecae491c20
GLK: SCOTT: Add support for Sorcerer of Claymorgue Castle
2022-06-23 20:11:01 +02:00