Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
This commit is contained in:
parent
25dde91c7c
commit
8ba75fc522
90 changed files with 694 additions and 709 deletions
|
@ -23,7 +23,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
|
||||
#define USERSPACE_ONLY //don't use kernel mode features
|
||||
|
||||
#ifndef USERSPACE_ONLY
|
||||
|
@ -118,7 +117,7 @@ int CallbackThread(SceSize /*size*/, void *arg) {
|
|||
|
||||
cbid = sceKernelCreateCallback("Power Callback", (SceKernelCallbackFunction)power_callback, 0);
|
||||
if (cbid >= 0) {
|
||||
if(scePowerRegisterCallback(-1, cbid) < 0) {
|
||||
if (scePowerRegisterCallback(-1, cbid) < 0) {
|
||||
PSPDebugTrace("SetupCallbacks(): Couldn't register callback for power_callback\n");
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue