| 421 | } |
| 422 | |
| 423 | [[gnu::pure]] |
| 424 | static AllocatedString |
| 425 | GetInfoString(const SidTuneInfo &info, unsigned i) noexcept |
| 426 | { |
| 427 | const char *s = info.numberOfInfoStrings() > i |
| 428 | ? info.infoString(i) |
| 429 | : ""; |
| 430 | |
| 431 | return Windows1252ToUTF8(s); |
| 432 | } |
| 433 | |
| 434 | [[gnu::pure]] |
| 435 | static AllocatedString |
no test coverage detected