----------------------------------------------------------------------------
| 316 | } |
| 317 | //---------------------------------------------------------------------------- |
| 318 | void GameGenieDialog_t::cmpChanged(const QString &s) |
| 319 | { |
| 320 | int a, v, c = -1; |
| 321 | char gg[12]; |
| 322 | |
| 323 | a = strtol( addr->text().toStdString().c_str(), NULL, 16 ); |
| 324 | v = strtol( val->text().toStdString().c_str(), NULL, 16 ); |
| 325 | |
| 326 | if ( s.size() > 0 ) |
| 327 | { |
| 328 | c = strtol( s.toStdString().c_str(), NULL, 16 ); |
| 329 | } |
| 330 | |
| 331 | EncodeGG( gg, a, v, c ); |
| 332 | |
| 333 | ggCode->setText( tr(gg) ); |
| 334 | |
| 335 | ListGGAddresses(); |
| 336 | } |
| 337 | //---------------------------------------------------------------------------- |
| 338 | void GameGenieDialog_t::valChanged(const QString &s) |
| 339 | { |
nothing calls this directly
no test coverage detected