synced with scummvm svn rev 51000

This commit is contained in:
Pawel Kolodziejski 2011-04-11 11:41:07 +02:00
parent 7b8039d88c
commit 697ed42447
75 changed files with 2104 additions and 1844 deletions

View file

@ -23,6 +23,7 @@
*/
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <direct.h>
// winnt.h defines ARRAYSIZE, but we want our own one...
@ -77,7 +78,7 @@ static void defaultErrorHandler(const char *msg) {
if (isSmartphone())
debugger = 0;
#endif
if (debugger && !debugger->isAttached()) {
if (debugger && !debugger->isActive()) {
debugger->attach(msg);
debugger->onFrame();
}