mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 15:55:45 +00:00
SCI: removing pirated sq4 version from detection
"fixes" bug #3037800 fixing warning in seg_manager svn-id: r51576
This commit is contained in:
parent
b0889cfd01
commit
83e51b0e92
@ -2831,7 +2831,8 @@ static const struct ADGameDescription SciGameDescriptions[] = {
|
||||
Common::DE_DEU, Common::kPlatformAmiga, 0, GUIO_NOSPEECH
|
||||
},
|
||||
|
||||
// Space Quest 4 - English DOS
|
||||
#if 0
|
||||
// Space Quest 4 - English DOS - THIS VERSION IS PIRATED/CRACKED AND REPACKAGED =DO NOT RE-ADD=
|
||||
// Executable scanning reports "1.000.753"
|
||||
// SCI interpreter version 1.000.200 (just a guess)
|
||||
{"sq4", "", {
|
||||
@ -2840,6 +2841,7 @@ static const struct ADGameDescription SciGameDescriptions[] = {
|
||||
{NULL, 0, NULL, 0}},
|
||||
Common::EN_ANY, Common::kPlatformPC, 0, GUIO_NOSPEECH
|
||||
},
|
||||
#endif
|
||||
|
||||
// Space Quest 4 - English DOS
|
||||
// Executable scanning reports "1.000.753"
|
||||
|
@ -852,7 +852,6 @@ byte *SegManager::allocDynmem(int size, const char *descr, reg_t *addr) {
|
||||
}
|
||||
|
||||
bool SegManager::freeDynmem(reg_t addr) {
|
||||
SegmentType foo = _heap[addr.segment]->getType();
|
||||
if (addr.segment < 1 || addr.segment >= _heap.size() || !_heap[addr.segment] || _heap[addr.segment]->getType() != SEG_TYPE_DYNMEM)
|
||||
return false; // error
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user