aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/powerman.cpp
diff options
context:
space:
mode:
authorYotam Barnoy2010-04-25 15:12:24 +0000
committerYotam Barnoy2010-04-25 15:12:24 +0000
commitf036b6b9d2a753c42354b78eb71ebfbd3d58cbc9 (patch)
tree6881c1687c807b49147d7ceb0a448fd3f4189b44 /backends/platform/psp/powerman.cpp
parentaaaab9ec34bdb52d40b33295293fdbeab4568a93 (diff)
downloadscummvm-rg350-f036b6b9d2a753c42354b78eb71ebfbd3d58cbc9.tar.gz
scummvm-rg350-f036b6b9d2a753c42354b78eb71ebfbd3d58cbc9.tar.bz2
scummvm-rg350-f036b6b9d2a753c42354b78eb71ebfbd3d58cbc9.zip
PSP:Implemented fingolfin's suggestion for cleaning up debugging code
svn-id: r48792
Diffstat (limited to 'backends/platform/psp/powerman.cpp')
-rw-r--r--backends/platform/psp/powerman.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/backends/platform/psp/powerman.cpp b/backends/platform/psp/powerman.cpp
index 25afba4881..df8da12f6d 100644
--- a/backends/platform/psp/powerman.cpp
+++ b/backends/platform/psp/powerman.cpp
@@ -83,8 +83,6 @@ PowerManager::PowerManager() {
_listCounter = 0;
PMStatusSet(kInitDone);
_error = 0;
-
- DEBUG_EXIT_FUNC();
}
/*******************************************
@@ -110,7 +108,6 @@ int PowerManager::registerSuspend(Suspendable *item) {
debugPM();
- DEBUG_EXIT_FUNC();
return 0;
}
@@ -138,7 +135,6 @@ int PowerManager::unregisterSuspend(Suspendable *item) {
PSP_DEBUG_PRINT("Out of unregisterSuspend\n");
debugPM();
- DEBUG_EXIT_FUNC();
return 0;
}
@@ -163,8 +159,6 @@ PowerManager::~PowerManager() {
SDL_DestroyMutex(_listMutex);
_listMutex = 0;
-
- DEBUG_EXIT_FUNC();
}
/*******************************************
@@ -247,7 +241,6 @@ int PowerManager::beginCriticalSection(bool justBlock) {
ret = Error;
}
- DEBUG_EXIT_FUNC();
return ret;
}
@@ -285,7 +278,6 @@ int PowerManager::endCriticalSection() {
ret = Error;
}
- DEBUG_EXIT_FUNC();
return ret;
}
@@ -377,7 +369,6 @@ int PowerManager::suspend() {
scePowerUnlock(0); // Allow the PSP to go to sleep now
- DEBUG_EXIT_FUNC();
return ret;
}
@@ -452,6 +443,5 @@ int PowerManager::resume() {
scePowerUnlock(0); // Allow new suspends
- DEBUG_EXIT_FUNC();
return ret;
}