hires hax. somewhat functional

This commit is contained in:
Arisotura
2019-05-08 01:58:34 +02:00
parent 587d432677
commit fb4f972cad
6 changed files with 248 additions and 213 deletions

View File

@ -2106,17 +2106,14 @@ void RenderThreadFunc()
}
}
void RequestLine(int line)
u32* GetLine(int line)
{
if (RenderThreadRunning)
{
if (line < 192)
Platform::Semaphore_Wait(Sema_ScanlineCount);
}
}
u32* GetLine(int line)
{
return &ColorBuffer[(line * ScanlineWidth) + FirstPixelOffset];
}