mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
this was prolly bad
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user