| 390 | } |
| 391 | |
| 392 | void FCEU_VSUniDraw(uint8 *XBuf) { |
| 393 | uint32 *dest; |
| 394 | int y, x; |
| 395 | |
| 396 | if (DIPS_howlong-- <= 0) return; |
| 397 | |
| 398 | dest = (uint32*)(XBuf + 256 * 12 + 164); |
| 399 | for (y = 24; y; y--, dest += (256 - 72) >> 2) { |
| 400 | for (x = 72 >> 2; x; x--, dest++) |
| 401 | *dest = 0; |
| 402 | } |
| 403 | |
| 404 | dest = (uint32*)(XBuf + 256 * (12 + 4) + 164 + 6); |
| 405 | for (y = 16; y; y--, dest += (256 >> 2) - 16) |
| 406 | for (x = 8; x; x--) { |
| 407 | *dest = 0x01010101; |
| 408 | dest += 2; |
| 409 | } |
| 410 | |
| 411 | dest = (uint32*)(XBuf + 256 * (12 + 4) + 164 + 6); |
| 412 | for (x = 0; x < 8; x++, dest += 2) { |
| 413 | uint32 *da = dest + (256 >> 2); |
| 414 | |
| 415 | if (!((vsdip >> x) & 1)) |
| 416 | da += (256 >> 2) * 10; |
| 417 | for (y = 4; y; y--, da += 256 >> 2) |
| 418 | *da = 0; |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | |
| 423 | SFORMAT FCEUVSUNI_STATEINFO[] = { |