diff --git a/Core/HLE/sceDisplay.cpp b/Core/HLE/sceDisplay.cpp index d657610979..49a78a14b6 100644 --- a/Core/HLE/sceDisplay.cpp +++ b/Core/HLE/sceDisplay.cpp @@ -135,8 +135,10 @@ std::map vblankPausedWaits; // STATE END -// The vblank period is 731.5 us (0.7315 ms) -const double vblankMs = 0.7315; +// tests/display/vblanklen measures 730-770us from sceDisplayWaitVblankStart returning until +// vblank ends, and an hcount of up to 14 inside it. The wait's own latency is in that, so this is +// the upper end. +const double vblankMs = 0.770; // These are guesses based on tests. const double vsyncStartMs = 0.5925; const double vsyncEndMs = 0.7265; diff --git a/test.py b/test.py index 0553541591..985ceacfb2 100755 --- a/test.py +++ b/test.py @@ -180,6 +180,7 @@ tests_good = [ "ctrl/sampling2/sampling2", "ctrl/vblank", "display/display", + "display/hcount", "display/vblankmulti", "display/isstate", "display/setframebuf", @@ -293,6 +294,7 @@ tests_good = [ "mstick/mstick", "power/cpu", "power/power", + "power/freq", "power/volatile/lock", "power/volatile/trylock", "power/volatile/unlock", @@ -532,7 +534,6 @@ tests_next = [ "audio/output2/frequency", "audio/output2/rest", "ccc/convertstring", - "display/hcount", "font/fonttest", "font/charinfo", "font/newlib", @@ -593,7 +594,6 @@ tests_next = [ #"modules/loadexec/loader", "net/http/http", "net/primary/ether", - "power/freq", "sysmem/partition", # These two mbx tests only appeared to work because they papered over bugs