mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 09:49:11 +00:00
WINTERMUTE: Correct 2 savegame-issues
This commit is contained in:
parent
9c0aff9d8b
commit
73feff111a
@ -404,9 +404,9 @@ Common::String CBPersistMgr::getStringObj() {
|
||||
char *ret = new char[len + 1];
|
||||
_loadStream->read(ret, len);
|
||||
ret[len] = '\0';
|
||||
delete[] ret;
|
||||
|
||||
Common::String retString = ret;
|
||||
delete[] ret;
|
||||
|
||||
if (retString == "(null)") {
|
||||
retString = "";
|
||||
|
@ -38,6 +38,7 @@ namespace WinterMute {
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
CSysClassRegistry::CSysClassRegistry() {
|
||||
_count = 0;
|
||||
_disabled = false;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user