| 1420 | } |
| 1421 | |
| 1422 | S32 XSGAutoData::SetCache(S32 targ, S32 game, S32 physicalSlot) |
| 1423 | { |
| 1424 | this->Discard(); |
| 1425 | this->isg_monitor = this->HWConnect(targ); |
| 1426 | if (this->isg_monitor == NULL) |
| 1427 | { |
| 1428 | return 0; |
| 1429 | } |
| 1430 | |
| 1431 | this->lastTarg = targ; |
| 1432 | this->lastGame = game; |
| 1433 | this->lastPhysicalSlot = physicalSlot; |
| 1434 | this->flg_autodata |= 1; |
| 1435 | return 1; |
| 1436 | } |
| 1437 | |
| 1438 | void XSGAutoData::Discard() |
| 1439 | { |
no test coverage detected