this was prolly bad

This commit is contained in:
Arisotura 2022-10-04 19:37:49 +02:00
parent 571d1c403f
commit 1a602376c7
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ int Camera::TransferScanline(u32* buffer, int maxlen)
{
if (dx >= maxlen) break;
int sx = 638 - ((dx * 640) / FrameWidth);
int sx = 319 - ((dx * 640) / FrameWidth);
u32 val = FrameBuffer[sy*320 + sx];
buffer[dx] = (val & 0xFF00FF00) | ((val >> 16) & 0xFF) | ((val & 0xFF) << 16);