[Scummvm-cvs-logs] SF.net SVN: scummvm:[49543] scummvm/trunk/engines/sci

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jun 9 17:21:10 CEST 2010


Revision: 49543
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49543&view=rev
Author:   thebluegr
Date:     2010-06-09 15:21:10 +0000 (Wed, 09 Jun 2010)

Log Message:
-----------
Fixed regression from commit #49537

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kernel.cpp
    scummvm/trunk/engines/sci/engine/kernel.h
    scummvm/trunk/engines/sci/sci.cpp

Modified: scummvm/trunk/engines/sci/engine/kernel.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.cpp	2010-06-09 14:16:00 UTC (rev 49542)
+++ scummvm/trunk/engines/sci/engine/kernel.cpp	2010-06-09 15:21:10 UTC (rev 49543)
@@ -392,7 +392,6 @@
 };
 
 Kernel::Kernel(ResourceManager *resMan, SegManager *segMan) : _resMan(resMan), _segMan(segMan) {
-	loadKernelNames();
 	loadSelectorNames();
 	mapSelectors();      // Map a few special selectors for later use
 }

Modified: scummvm/trunk/engines/sci/engine/kernel.h
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.h	2010-06-09 14:16:00 UTC (rev 49542)
+++ scummvm/trunk/engines/sci/engine/kernel.h	2010-06-09 15:21:10 UTC (rev 49543)
@@ -207,7 +207,6 @@
 	 */
 	Common::String lookupText(reg_t address, int index);
 
-private:
 	/**
 	 * Loads the kernel function names.
 	 *
@@ -218,6 +217,7 @@
 	 */
 	void loadKernelNames();
 
+private:
 	/**
 	 * Sets the default kernel function names, based on the SCI version used
 	 */

Modified: scummvm/trunk/engines/sci/sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci.cpp	2010-06-09 14:16:00 UTC (rev 49542)
+++ scummvm/trunk/engines/sci/sci.cpp	2010-06-09 15:21:10 UTC (rev 49543)
@@ -217,6 +217,7 @@
 	}
 
 	script_adjust_opcode_formats(_gamestate);
+	_kernel->loadKernelNames();
 
 	SciVersion soundVersion = _features->detectDoSoundType();
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list