This version of it matches 33%. It's also functionally incorrect.
| 473 | |
| 474 | // This version of it matches 33%. It's also functionally incorrect. |
| 475 | void zMusicSetVolume(float vol, float delay) |
| 476 | { |
| 477 | volume.cur = vol; // This makes it introduce the "frsp" instruction. |
| 478 | volume.inc = vol - volume.cur; |
| 479 | |
| 480 | if (delay > |
| 481 | minDelay) // Doing the if statement likes this makes it generate the "blelr" instruction |
| 482 | { |
| 483 | volume.inc = vol / delay; |
| 484 | } |
| 485 | } |
| 486 | |
| 487 | void zMusicReset() |
| 488 | { |
no outgoing calls
no test coverage detected