Isle::Isle 100% accuracy

This commit is contained in:
Christian Semmler 2023-06-20 11:11:31 +02:00
parent 0ab8fc52d2
commit 25d5220eeb
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C
2 changed files with 9 additions and 7 deletions

View File

@ -37,13 +37,7 @@ Isle::Isle()
m_frameDelta = 10;
m_windowActive = 1;
MxRect32 rect;
rect.m_left = 0;
rect.m_top = 0;
rect.m_right = 639;
rect.m_bottom = 479;
m_videoParam = MxVideoParam(rect, NULL, 1, MxVideoParamFlags());
m_videoParam = MxVideoParam(MxRect32(0, 0, 639, 479), NULL, 1, MxVideoParamFlags());
m_videoParam.flags().Enable16Bit(MxDirectDraw::GetPrimaryBitDepth() == 16);
m_windowHandle = NULL;

View File

@ -4,6 +4,14 @@
class MxRect32
{
public:
MxRect32(int p_left, int p_top, int p_right, int p_bottom)
{
this->m_left = p_left;
this->m_top = p_top;
this->m_right = p_right;
this->m_bottom = p_bottom;
}
int m_left;
int m_top;
int m_right;