baseport/syborg/pointer/syborg_pointer.cpp
branchnvmemory
changeset 80 e9514b7eeead
parent 16 2dd1d22cb0f3
child 96 c7e943dbf70f
equal deleted inserted replaced
74:eb3d0111f868 80:e9514b7eeead
   109   iScreenWidth  = videoInfo.iSizeInPixels.iWidth;
   109   iScreenWidth  = videoInfo.iSizeInPixels.iWidth;
   110   iScreenHeight = videoInfo.iSizeInPixels.iHeight;
   110   iScreenHeight = videoInfo.iSizeInPixels.iHeight;
   111   iDisplayMode  = videoInfo.iDisplayMode;
   111   iDisplayMode  = videoInfo.iDisplayMode;
   112 
   112 
   113   iVideoMem = videoInfo.iVideoAddress + videoInfo.iOffsetToFirstPixel;
   113   iVideoMem = videoInfo.iVideoAddress + videoInfo.iOffsetToFirstPixel;
   114   iOffSetBetweenEachLine = 640;
   114   iOffSetBetweenEachLine = iScreenWidth;
   115 
   115 
   116   ix = iy = 0;
   116   ix = iy = 0;
   117 
   117 
   118   iXFactor = Fixed(iScreenWidth) / Fixed(0x8000);
   118   iXFactor = Fixed(iScreenWidth) / Fixed(0x6000);
   119   iYFactor = Fixed(iScreenHeight) / Fixed(0x8000);
   119   iYFactor = Fixed(iScreenHeight) / Fixed(0x8000);
   120 
   120 
   121   iFifoPos = iFifoCount = 0;
   121   iFifoPos = iFifoCount = 0;
   122 
   122 
   123 
   123