mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Added scePowerGetBatteryTemp support
It returns 0 celsius degrees
This commit is contained in:
parent
e715019cde
commit
3fc397c590
1 changed files with 7 additions and 1 deletions
|
@ -71,6 +71,12 @@ int scePowerGetBatteryLifeTime() {
|
|||
return 0;
|
||||
}
|
||||
|
||||
int scePowerGetBatteryTemp() {
|
||||
DEBUG_LOG(HLE, "0=scePowerGetBatteryTemp()");
|
||||
// 0 means celsius temperature of the battery
|
||||
return 0;
|
||||
}
|
||||
|
||||
int scePowerIsPowerOnline() {
|
||||
DEBUG_LOG(HLE, "1=scePowerIsPowerOnline");
|
||||
return 1;
|
||||
|
@ -314,7 +320,7 @@ static const HLEFunction scePower[] = {
|
|||
{0xFD18A0FF,0,"scePowerGetBatteryFullCapacity"},
|
||||
{0x2085D15D,&WrapI_V<scePowerGetBatteryLifePercent>,"scePowerGetBatteryLifePercent"},
|
||||
{0x8EFB3FA2,&WrapI_V<scePowerGetBatteryLifeTime>,"scePowerGetBatteryLifeTime"},
|
||||
{0x28E12023,0,"scePowerGetBatteryTemp"},
|
||||
{0x28E12023,&WrapI_V<scePowerGetBatteryTemp>,"scePowerGetBatteryTemp"},
|
||||
{0x862AE1A6,0,"scePowerGetBatteryElec"},
|
||||
{0x483CE86B,0,"scePowerGetBatteryVolt"},
|
||||
{0x23436A4A,0,"scePowerGetInnerTemp"},
|
||||
|
|
Loading…
Add table
Reference in a new issue