diff options
| author | CoderStig <79828759+CoderStig@users.noreply.github.com> | 2021-11-05 05:17:09 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-05 05:17:09 -0600 |
| commit | 8ab4557b393073e8b544e8ceb834f5baddb465de (patch) | |
| tree | 4e35f1b65eaa814845aab7c137e1cfd17520760c /src/os/osContInit.c | |
| parent | 48f2c2fddec9601759fcd847268547a97dd85f5b (diff) | |
Split asm using autodecompiler (#49)
* Split asm using autodecompiler
* Placed libultra bss and linked more C
Diffstat (limited to 'src/os/osContInit.c')
| -rw-r--r-- | src/os/osContInit.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/os/osContInit.c b/src/os/osContInit.c index 20c478db2..1e85c7fbe 100644 --- a/src/os/osContInit.c +++ b/src/os/osContInit.c @@ -11,7 +11,7 @@ extern u64 osClockRate; // these probably belong in EEPROMlongread or something u8 _osLastSentSiCmd; u8 _osContNumControllers; -OSTimer D_80365D28; +OSTimer D_80196548; OSMesgQueue _osContMesgQueue; OSMesg _osContMesgBuff[4]; s32 osContInit(OSMesgQueue *mq, u8 *bitpattern, OSContStatus *status) { @@ -32,21 +32,13 @@ s32 osContInit(OSMesgQueue *mq, u8 *bitpattern, OSContStatus *status) { osRecvMesg(&timerMesgQueue, &mesg, OS_MESG_BLOCK); } _osContNumControllers = 4; // TODO: figure out what it means -#if defined(VERSION_EU) || defined(VERSION_SH) __osPackRequestData(0); -#else - __osPackRequestData(255); -#endif ret = __osSiRawStartDma(OS_WRITE, _osContCmdBuf); osRecvMesg(mq, &mesg, OS_MESG_BLOCK); ret = __osSiRawStartDma(OS_READ, _osContCmdBuf); osRecvMesg(mq, &mesg, OS_MESG_BLOCK); __osContGetInitData(bitpattern, status); -#if defined(VERSION_EU) || defined(VERSION_SH) _osLastSentSiCmd = 0; -#else - _osLastSentSiCmd = 255; -#endif __osSiCreateAccessQueue(); osCreateMesgQueue(&_osContMesgQueue, _osContMesgBuff, 1); return ret; |
