Skip to content

Commit

Permalink
[power] hack - Make suspend toggle suspend state
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Jan 27, 2018
1 parent 48f5b45 commit 54053bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xbmc/powermanagement/PowerSyscallVirtualSleep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ bool CPowerSyscallVirtualSleep::Suspend()
return true;
}
}
else if (VirtualWake())
{
m_virtualSleepState = VIRTUAL_SLEEP_STATE_WILL_WAKE;
return false;
}

return false;
}
Expand Down

0 comments on commit 54053bd

Please sign in to comment.