mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Initialize a few display state values on init.
This commit is contained in:
1 parent
27e27f11ad
commit
c642f92bfb
1 file changed
+2
@@ -187,6 +187,7 @@ void __DisplayInit() {
|
||||
framebuf.topaddr = 0x04000000;
|
||||
framebuf.pspFramebufFormat = GE_FORMAT_8888;
|
||||
framebuf.pspFramebufLinesize = 480; // ??
|
||||
memset(&latchedFramebuf, 0, sizeof(latchedFramebuf));
|
||||
lastFlipCycles = 0;
|
||||
lastFlipsTooFrequent = 0;
|
||||
wasPaused = false;
|
||||
@@ -200,6 +201,7 @@ void __DisplayInit() {
|
||||
|
||||
CoreTiming::ScheduleEvent(msToCycles(frameMs - vblankMs), enterVblankEvent, 0);
|
||||
isVblank = 0;
|
||||
frameStartTicks = 0;
|
||||
vCount = 0;
|
||||
hCountBase = 0;
|
||||
curFrameTime = 0.0;
|
||||
|
||||
Reference in new issue
Block a user