Permalink
Browse files

[power] hack - Make suspend toggle suspend state

  • Loading branch information...
popcornmix committed Mar 3, 2014
1 parent 48f5b45 commit 54053bd66b6a3c16b6c66506f8dabd58117291fd
Showing with 5 additions and 0 deletions.
  1. +5 −0 xbmc/powermanagement/PowerSyscallVirtualSleep.cpp
@@ -33,6 +33,11 @@ bool CPowerSyscallVirtualSleep::Suspend()
return true;
}
}
else if (VirtualWake())
{
m_virtualSleepState = VIRTUAL_SLEEP_STATE_WILL_WAKE;
return false;
}
return false;
}

0 comments on commit 54053bd

Please sign in to comment.