diff options
| author | Lucas Shaw <49287729+shawlucas@users.noreply.github.com> | 2020-06-17 04:16:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-17 07:16:30 -0400 |
| commit | b86edcf92c1c6882f0bb9dd051eb6a1b0582de8b (patch) | |
| tree | 1a2405029a7b41cc6420060094dc158b03d2b5a2 /src/libultra_code/code_801031F0.c | |
| parent | 229e0c8629b5a3c984a8a2c5ed5aba2aa59d32d7 (diff) | |
Matched some controller files (#178)
* osPfsIsPlug.c and osContSetCh.c OK
* update
* __osPfsGetStatus.c OK
* removed unused asm
* Updated all libultra controller files to use new structs instead of the temporary structs. Added os_pfs.h
* controller updates
* fixed header guard
* Made suggested changes
Diffstat (limited to 'src/libultra_code/code_801031F0.c')
| -rw-r--r-- | src/libultra_code/code_801031F0.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libultra_code/code_801031F0.c b/src/libultra_code/code_801031F0.c index 3a5ba4f18..12bb4668f 100644 --- a/src/libultra_code/code_801031F0.c +++ b/src/libultra_code/code_801031F0.c @@ -15,13 +15,13 @@ s32 osContStartQuery(OSMesgQueue* mq) { ret = 0; __osSiGetAccess(); - if (_osCont_lastPollType != CONT_CMD_REQUEST_STATUS) { + if (__osContLastPoll != CONT_CMD_REQUEST_STATUS) { __osPackRequestData(CONT_CMD_REQUEST_STATUS); - ret = __osSiRawStartDma(OS_WRITE, &_osPifInternalBuff); + ret = __osSiRawStartDma(OS_WRITE, &__osPifInternalBuff); osRecvMesg(mq, NULL, OS_MESG_BLOCK); } - ret = __osSiRawStartDma(OS_READ, &_osPifInternalBuff); - _osCont_lastPollType = CONT_CMD_REQUEST_STATUS; + ret = __osSiRawStartDma(OS_READ, &__osPifInternalBuff); + __osContLastPoll = CONT_CMD_REQUEST_STATUS; __osSiRelAccess(); return ret; } |
