diff options
author | Max Lingua | 2014-01-23 01:02:05 -0500 |
---|---|---|
committer | Max Lingua | 2014-01-23 18:34:37 -0500 |
commit | ab3a1b5e0cfa2090cb0c9df3cf18dfc3fb057bc9 (patch) | |
tree | d82b6ba0571fabfdbb9ccb2e0f75e7e22d4077df /backends/platform/ps2 | |
parent | 487e642d00e3282a83e7510d356ff684f0c1aa51 (diff) | |
download | scummvm-rg350-ab3a1b5e0cfa2090cb0c9df3cf18dfc3fb057bc9.tar.gz scummvm-rg350-ab3a1b5e0cfa2090cb0c9df3cf18dfc3fb057bc9.tar.bz2 scummvm-rg350-ab3a1b5e0cfa2090cb0c9df3cf18dfc3fb057bc9.zip |
PS2: commented "offending" free in startIrxModules
TODO: investigate stack corruption due to double free
TODO: review modules loader fallback logic
Diffstat (limited to 'backends/platform/ps2')
-rw-r--r-- | backends/platform/ps2/systemps2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp index 80130fc679..e800c6cb21 100644 --- a/backends/platform/ps2/systemps2.cpp +++ b/backends/platform/ps2/systemps2.cpp @@ -245,13 +245,13 @@ void OSystem_PS2::startIrxModules(int numModules, IrxReference *modules) { } if (modules[i].buffer) - free(modules[i].buffer); + ; // free(modules[i].buffer); } else { sioprintf("module %d of %d damaged, loc %d, path %s\n", i, numModules, modules[i].loc, modules[i].path); } - free(modules[i].path); + // free(modules[i].path); } - free(modules); + // free(modules); sioprintf("done\n"); sioprintf("UsbMass: %sloaded\n", _usbMassLoaded ? "" : "not "); sioprintf("Mouse: %sloaded\n", _useMouse ? "" : "not "); |