Skip to content

Commit

Permalink
Merge pull request hrydgard#1595 from sum2012/patch-3
Browse files Browse the repository at this point in the history
IMPL sceDisplayIsForeground
  • Loading branch information
hrydgard committed Apr 29, 2013
2 parents 232b354 + b56ed45 commit d70d74c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Core/HLE/sceDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,10 @@ float sceDisplayGetFramePerSec() {
}

u32 sceDisplayIsForeground() {
ERROR_LOG(HLE,"UNIMPL sceDisplayIsForeground()");
DEBUG_LOG(HLE,"IMPL sceDisplayIsForeground()");
if (!hasSetMode || framebuf.topaddr == 0)
return 0;
else
return 1; // return value according to JPCSP comment
}

Expand Down

0 comments on commit d70d74c

Please sign in to comment.