| 923 | } |
| 924 | |
| 925 | S32 zSaveLoad_CardCheckGamesSingle_doCheck(st_XSAVEGAME_DATA* xsgdata, S32 cardNumber) |
| 926 | { |
| 927 | int rc; |
| 928 | |
| 929 | if (xSGTgtIsFormat(xsgdata, cardNumber, 0) <= 0) |
| 930 | { |
| 931 | rc = 6; |
| 932 | } |
| 933 | else |
| 934 | { |
| 935 | xSGTgtSelect(xsgdata, cardNumber); |
| 936 | if (!xSGTgtHasGameDir(xsgdata, cardNumber)) |
| 937 | { |
| 938 | rc = 0; |
| 939 | } |
| 940 | else |
| 941 | { |
| 942 | rc = xSGTgtHaveRoom(xsgdata, cardNumber, 0xcc00, -1, &sNeeded, &sAvailable, 0); |
| 943 | if (rc == 0) |
| 944 | { |
| 945 | rc = 0; |
| 946 | } |
| 947 | } |
| 948 | } |
| 949 | return rc; |
| 950 | } |
| 951 | |
| 952 | S32 zSaveLoad_CardCheckGamesSingle(S32 cardNumber) |
| 953 | { |
no test coverage detected