// Copyright (c) 2012- PPSSPP Project.12// This program is free software: you can redistribute it and/or modify3// it under the terms of the GNU General Public License as published by4// the Free Software Foundation, version 2.0 or later versions.56// This program is distributed in the hope that it will be useful,7// but WITHOUT ANY WARRANTY; without even the implied warranty of8// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9// GNU General Public License 2.0 for more details.1011// A copy of the GPL 2.0 should have been included with the program.12// If not, see http://www.gnu.org/licenses/1314// Official git repository and contact information can be found at15// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.1617#pragma once1819#include "Core/MemMap.h"2021void __DisplayInit();22void __DisplayDoState(PointerWrap &p);23void __DisplayShutdown();2425void Register_sceDisplay();2627// Get information about the current framebuffer.28bool __DisplayGetFramebuf(PSPPointer<u8> *topaddr, u32 *linesize, u32 *pixelFormat, int mode);29void __DisplaySetFramebuf(u32 topaddr, int linesize, int pixelformat, int sync);3031// Call this when resuming to avoid a small speedup burst32void __DisplaySetWasPaused();3334void Register_sceDisplay_driver();35void __DisplayWaitForVblanks(const char* reason, int vblanks, bool callbacks = false);3637// Kinda hacky, but what can you do... we can't pass it through the jit etc.38struct DisplayLayoutConfig;39void __DisplaySetDisplayLayoutConfig(const DisplayLayoutConfig &config);404142