예제 #1
0
void PS3Graphics::ChangeResolution(uint32_t resId, uint16_t pal60Hz)
{
	cellDbgFontExit();
	PSGLDeInitDevice();
	
	PSGLInitDevice(resId, pal60Hz);
	PSGLInit();
	InitDbgFont();
	SetResolution();
}
예제 #2
0
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();
	}
}
예제 #3
0
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);
}
예제 #4
0
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);
}
예제 #5
0
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();
}