this draws the recording icon (play/pause/record)
| 331 | |
| 332 | /// this draws the recording icon (play/pause/record) |
| 333 | void FCEU_DrawRecordingStatus(uint8* XBuf) |
| 334 | { |
| 335 | if(FCEUD_ShowStatusIcon()) |
| 336 | { |
| 337 | bool hasPlayRecIcon = false; |
| 338 | if(FCEUMOV_Mode(MOVIEMODE_RECORD)) |
| 339 | { |
| 340 | drawstatus(XBuf-ClipSidesOffset,2,28,0); |
| 341 | hasPlayRecIcon = true; |
| 342 | } |
| 343 | else if(FCEUMOV_Mode(MOVIEMODE_PLAY|MOVIEMODE_FINISHED)) |
| 344 | { |
| 345 | drawstatus(XBuf-ClipSidesOffset,1,28,0); |
| 346 | hasPlayRecIcon = true; |
| 347 | } |
| 348 | |
| 349 | if( EmulationPaused & (EMULATIONPAUSED_PAUSED | EMULATIONPAUSED_TIMER) ) |
| 350 | drawstatus(XBuf-ClipSidesOffset,3,28,hasPlayRecIcon?-16:0); |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | |
| 355 | void FCEU_DrawNumberRow(uint8 *XBuf, int *nstatus, int cur) |
no test coverage detected