Revert "camera: model FIFO more accurately (avoids weird bugs when DMA fails)"

This reverts commit 2cb07bf126.
This commit is contained in:
Arisotura
2025-07-07 12:20:11 +02:00
parent 85dcf65231
commit 1f51f27d44
4 changed files with 25 additions and 29 deletions

View File

@ -22,7 +22,6 @@
#include "types.h"
#include "Savestate.h"
#include "DSi_I2C.h"
#include "FIFO.h"
namespace melonDS
{
@ -120,7 +119,8 @@ private:
u32 CropStart, CropEnd;
// pixel data buffer holds a maximum of 512 words, regardless of how long scanlines are
FIFO<u32, 512> DataBuffer;
u32 DataBuffer[512];
u32 BufferReadPos, BufferWritePos;
u32 BufferNumLines;
DSi_Camera* CurCamera;