| 166 | } |
| 167 | |
| 168 | void ROMFont::SwapBuffers() |
| 169 | { |
| 170 | void* buffer; |
| 171 | |
| 172 | VISetNextFrameBuffer(mCurrentFrameBuffer); |
| 173 | |
| 174 | if (mFirstFrame != false) |
| 175 | { |
| 176 | VISetBlack(TRUE); |
| 177 | mFirstFrame = false; |
| 178 | } |
| 179 | else |
| 180 | { |
| 181 | VISetBlack(FALSE); |
| 182 | } |
| 183 | |
| 184 | VIFlush(); |
| 185 | VIWaitForRetrace(); |
| 186 | |
| 187 | mCurrentFrameBuffer = mCurrentFrameBuffer == mXFBs[0] ? mXFBs[1] : mXFBs[0]; |
| 188 | } |
| 189 | |
| 190 | void ROMFont::DrawCell(S32 x, S32 y, S32 u, S32 v) |
| 191 | { |
nothing calls this directly
no test coverage detected