diff --git a/desmume/src/FIFO.cpp b/desmume/src/FIFO.cpp index 0f24cf08a..ff781aec7 100644 --- a/desmume/src/FIFO.cpp +++ b/desmume/src/FIFO.cpp @@ -228,7 +228,9 @@ void GFX_FIFOsend(u8 cmd, u32 param) //if a matrix op is entering the pipeline, do accounting for it //(this is tested by wild west, which will jam a few ops in the fifo and then wait for the matrix stack to be - //un-busy so it can read back the current matrix stack position) + //un-busy so it can read back the current matrix stack position). + //it is definitely only pushes and pops which set this flag. + //seems like it would be less work in the HW to make a counter than do cmps on all the command bytes, so maybe we're even doing it right. if(IsMatrixStackCommand(cmd)) gxFIFO.matrix_stack_op_size++; diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 63323081b..78aff0499 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -1641,18 +1641,16 @@ static void execHardware_hstart() //check whether we'll need to fire vblank irqs if(T1ReadWord(MMU.ARM9_REG, 4) & 0x8) MMU.reg_IF_pending[ARMCPU_ARM9] |= (1<