summaryrefslogtreecommitdiff
path: root/src/libultra_code/code_801031F0.c
diff options
context:
space:
mode:
authorLucas Shaw <49287729+shawlucas@users.noreply.github.com>2020-07-06 17:15:01 -0700
committerGitHub <noreply@github.com>2020-07-06 20:15:01 -0400
commit7e195a35621e629f47be7ebd70f91775a01498da (patch)
treef2f1ef0440bce50131dd18547ee63ab268be42f0 /src/libultra_code/code_801031F0.c
parente6ca2dfd70ef4f76af85b8492e67fb17b1e4dc71 (diff)
Matched most remaining libultra files (#221)
* 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 * guLookAt.c OK * commit * __osPfsSelectBank.c OK * osPfsDeleteFile.c OK * pfsreadwritefile.c OK * osPfsFreeBlocks.c OK * cleaned up ospfsfreeblocks * started pfsinitpak.c * pfsallocatefile.c OK * contpfs.c decompiled with 1 non matching * osPfsFindFile.c OK * pfsinitpak.c decompiled. one non-matching * Actually fixed merge conflict * sins.c OK * cosf.c sinf.c and sins.c OK * moved osAfterPreNMI to its own file. Renamed code_801031F0 to contquery.c * pfschecker.c OK * final update and rename * Removed makefile testing thing that i accidentally added * Made suggested changes
Diffstat (limited to 'src/libultra_code/code_801031F0.c')
-rw-r--r--src/libultra_code/code_801031F0.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/libultra_code/code_801031F0.c b/src/libultra_code/code_801031F0.c
deleted file mode 100644
index 12bb4668f..000000000
--- a/src/libultra_code/code_801031F0.c
+++ /dev/null
@@ -1,36 +0,0 @@
-#include "libultra_internal.h"
-#include <global.h>
-
-s32 osAfterPreNMI(void) {
- return __osSpSetPc(0);
-}
-
-/**
- * osContStartQuery:
- * Starts to read the values for SI device status and type which are connected to the controller port and joyport
- * connector.
- **/
-s32 osContStartQuery(OSMesgQueue* mq) {
- s32 ret;
- ret = 0;
-
- __osSiGetAccess();
- if (__osContLastPoll != CONT_CMD_REQUEST_STATUS) {
- __osPackRequestData(CONT_CMD_REQUEST_STATUS);
- ret = __osSiRawStartDma(OS_WRITE, &__osPifInternalBuff);
- osRecvMesg(mq, NULL, OS_MESG_BLOCK);
- }
- ret = __osSiRawStartDma(OS_READ, &__osPifInternalBuff);
- __osContLastPoll = CONT_CMD_REQUEST_STATUS;
- __osSiRelAccess();
- return ret;
-}
-
-/**
- * osContGetQuery:
- * Returns the values from osContStartQuery to status. Both functions must be paired for use.
- **/
-void osContGetQuery(OSContStatus* data) {
- u8 pattern;
- __osContGetInitData(&pattern, data);
-}