mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-31 02:00:03 -06:00
Revert "camera: model FIFO more accurately (avoids weird bugs when DMA fails)"
This reverts commit 2cb07bf126
.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user