diff options
Diffstat (limited to 'FIFO.h')
-rw-r--r-- | FIFO.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -47,7 +47,7 @@ public: } - void Write(u32 val) + void Write(T& val) { if (IsFull()) return; @@ -60,9 +60,9 @@ public: NumOccupied++; } - T Read() + T& Read() { - T ret = Entries[ReadPos]; + T& ret = Entries[ReadPos]; if (IsEmpty()) return ret; |