mirror of https://github.com/PCSX2/pcsx2.git
Minor compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3782 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
d4310e0b86
commit
38aecf4ae0
|
@ -19,7 +19,6 @@
|
||||||
#include "IPU/IPUdma.h"
|
#include "IPU/IPUdma.h"
|
||||||
#include "mpeg2lib/Mpeg.h"
|
#include "mpeg2lib/Mpeg.h"
|
||||||
|
|
||||||
|
|
||||||
__aligned16 IPU_Fifo ipu_fifo;
|
__aligned16 IPU_Fifo ipu_fifo;
|
||||||
|
|
||||||
void IPU_Fifo::init()
|
void IPU_Fifo::init()
|
||||||
|
@ -113,7 +112,7 @@ int IPU_Fifo_Output::write(const u32 *value, uint size)
|
||||||
do {
|
do {
|
||||||
IPU0dma();
|
IPU0dma();
|
||||||
|
|
||||||
uint transsize = min(size, 8 - ipuRegs.ctrl.OFC);
|
uint transsize = min(size, 8 - (uint)ipuRegs.ctrl.OFC);
|
||||||
if(!transsize) break;
|
if(!transsize) break;
|
||||||
|
|
||||||
ipuRegs.ctrl.OFC = transsize;
|
ipuRegs.ctrl.OFC = transsize;
|
||||||
|
@ -132,7 +131,7 @@ int IPU_Fifo_Output::write(const u32 *value, uint size)
|
||||||
#if 0
|
#if 0
|
||||||
if (ipuRegs.ctrl.OFC >= 8) IPU0dma();
|
if (ipuRegs.ctrl.OFC >= 8) IPU0dma();
|
||||||
|
|
||||||
uint transsize = min(size, 8 - ipuRegs.ctrl.OFC);
|
uint transsize = min(size, 8 - (uint)ipuRegs.ctrl.OFC);
|
||||||
uint firsttrans = transsize;
|
uint firsttrans = transsize;
|
||||||
|
|
||||||
while (transsize > 0)
|
while (transsize > 0)
|
||||||
|
|
Loading…
Reference in New Issue