void PS3Graphics::ChangeResolution(uint32_t resId, uint16_t pal60Hz) { cellDbgFontExit(); PSGLDeInitDevice(); PSGLInitDevice(resId, pal60Hz); PSGLInit(); InitDbgFont(); SetResolution(); }
void FceuGraphics::Init() { LOG_DBG("FceuGraphics::Init()\n"); PSGLGraphics::Init(m_resolutionId, m_pal60Hz); int32_t ret = PSGLInit(); if (ret == CELL_OK) { PSGLGraphics::SetResolution(); GetAllAvailableResolutions(); } }
void PS3Graphics::Init() { PSGLInitDevice(NULL, m_pal60Hz); int32_t ret = PSGLInit(); if (ret == CELL_OK) { SetResolution(); } GetAllAvailableResolutions(); // TODO : Initially set to false. This will be overridden later SetAspectRatio(false); }
void FceuGraphics::Init(uint32_t resId) { LOG_DBG("FceuGraphics::Init(%d)\n", resId); PSGLGraphics::Init(resId, m_pal60Hz); PSGLInit(); SetDimensions(240, 256 * 4); Rect r; r.x = 0; r.y = 0; r.w = 256; r.h = 240; SetRect(r); SetAspectRatio(m_ratio); }
int32_t FceuGraphics::ChangeResolution(uint32_t resId, uint16_t pal60Hz) { LOG_DBG("SNES9xGraphics::ChangeResolution(%d, %d)\n", resId, pal60Hz); int32_t ret; PSGLGraphics::DeinitDbgFont(); Deinit(); PSGLGraphics::Init(resId, pal60Hz); PSGLInit(); SetDimensions(240, 256 * 4); Rect r; r.x = 0; r.y = 0; r.w = 256; r.h = 240; SetRect(r); SetAspectRatio(m_ratio); PSGLGraphics::InitDbgFont(); PSGLGraphics::SetResolution(); }