| 213 | } |
| 214 | |
| 215 | void JFWDisplay::endGX() { |
| 216 | f32 width = JUTVideo::getManager()->getFbWidth(); |
| 217 | f32 height = JUTVideo::getManager()->getEfbHeight(); |
| 218 | |
| 219 | J2DOrthoGraph ortho(0.0f, 0.0f, width, height, -1.0f, 1.0f); |
| 220 | |
| 221 | if (mFader != nullptr) { |
| 222 | ortho.setPort(); |
| 223 | mFader->control(); |
| 224 | } |
| 225 | ortho.setPort(); |
| 226 | JUTDbPrint::getManager()->flush(); |
| 227 | |
| 228 | if (JUTConsoleManager::getManager() != nullptr) { |
| 229 | ortho.setPort(); |
| 230 | JUTConsoleManager::getManager()->draw(); |
| 231 | } |
| 232 | |
| 233 | ortho.setPort(); |
| 234 | JUTProcBar::getManager()->draw(); |
| 235 | |
| 236 | if (mDrawDoneMethod != UNK_METHOD_0 || JUTXfb::getManager()->getBufferNum() == 1) { |
| 237 | JUTAssertion::flushMessage_dbPrint(); |
| 238 | } |
| 239 | GXFlush(); |
| 240 | } |
| 241 | |
| 242 | #ifdef HIO_SCREENSHOT |
| 243 | // for MKDD's screenshot function it seems, not sure why it was added here in JSystem |
nothing calls this directly
no test coverage detected