diff options
author | Eugene Sandulenko | 2009-01-01 15:06:43 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2009-01-01 15:06:43 +0000 |
commit | 696897b0583ad52ebc6f7666525277847619a8ce (patch) | |
tree | 5ac2be2991e94dce32c5bb7fdb0dcc4188221503 /engines/tinsel/sched.cpp | |
parent | 05d3633eb32ead8e11435b85a9db1ddaa1482fcb (diff) | |
download | scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.gz scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.bz2 scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.zip |
Whoa! Removing trailing spaces.
svn-id: r35648
Diffstat (limited to 'engines/tinsel/sched.cpp')
-rw-r--r-- | engines/tinsel/sched.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/tinsel/sched.cpp b/engines/tinsel/sched.cpp index 526ad3fcf6..8ced3ba9c0 100644 --- a/engines/tinsel/sched.cpp +++ b/engines/tinsel/sched.cpp @@ -69,17 +69,17 @@ Scheduler::Scheduler() { #endif pRCfunction = 0; - + active = new PROCESS; active->pPrevious = NULL; - + g_scheduler = this; // FIXME HACK } Scheduler::~Scheduler() { free(processList); processList = NULL; - + delete active; active = 0; } @@ -342,7 +342,7 @@ PROCESS *Scheduler::createProcess(int pid, CORO_ADDR coroAddr, const void *pPara if (pProc->pNext) pProc->pNext->pPrevious = pProc; active->pNext = pProc; - + } // set coroutine entry point @@ -377,7 +377,7 @@ PROCESS *Scheduler::createProcess(int pid, CORO_ADDR coroAddr, const void *pPara void Scheduler::killProcess(PROCESS *pKillProc) { // make sure a valid process pointer assert(pKillProc >= processList && pKillProc <= processList + NUM_PROCESS - 1); - + // can not kill the current process using killProcess ! assert(pCurrent != pKillProc); @@ -490,7 +490,7 @@ int Scheduler::killMatchingProcess(int pidKill, int pidMask) { /** * Set pointer to a function to be called by killProcess(). - * + * * May be called by a resource allocator, the function supplied is * called by killProcess() to allow the resource allocator to free * resources allocated to the dying process. @@ -603,7 +603,7 @@ void SceneProcessEvent(CORO_PARAM, uint32 procID, TINSEL_EVENT event, bool bWait if (_ctx->pic == NULL) return; - _ctx->pProc = g_scheduler->createProcess(PID_PROCESS + i, ProcessTinselProcess, + _ctx->pProc = g_scheduler->createProcess(PID_PROCESS + i, ProcessTinselProcess, &_ctx->pic, sizeof(_ctx->pic)); AttachInterpret(_ctx->pic, _ctx->pProc); break; |