Skip to content

Commit

Permalink
fix typo src (#652)
Browse files Browse the repository at this point in the history
Co-authored-by: MegaMech <[email protected]>
  • Loading branch information
coco875 and MegaMech authored Aug 16, 2024
1 parent 684cc20 commit 52fd80f
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/os/__osLeoInterrupt.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "ultra64.h"
#include <ultra64.h>
#include "osint.h"
#include "piint.h"
#include "libultra_internal.h"
Expand Down
2 changes: 1 addition & 1 deletion src/os/contramread.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "libultra_internal.h"
#include "PR/rcp.h"
#include <PR/rcp.h>
#include "controller.h"

extern s32 __osPfsGetStatus(OSMesgQueue *, s32);
Expand Down
2 changes: 1 addition & 1 deletion src/os/contramwrite.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "libultra_internal.h"
#include "PR/rcp.h"
#include <PR/rcp.h>
#include "controller.h"

extern s32 __osPfsGetStatus(OSMesgQueue *, s32);
Expand Down
6 changes: 3 additions & 3 deletions src/os/controller.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef _CONTROLLER_H
#define _CONTROLLER_H
#include "PR/os_internal.h"
#include "PR/os.h"
#include "PR/rcp.h"
#include <PR/os_internal.h>
#include <PR/os.h>
#include <PR/rcp.h>

//should go somewhere else but
#define ARRLEN(x) ((s32)(sizeof(x) / sizeof(x[0])))
Expand Down
2 changes: 1 addition & 1 deletion src/os/epidma.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifdef VERSION_SH

#include "PR/os_internal.h"
#include <PR/os_internal.h>
#include "piint.h"

s32 osEPiStartDma(OSPiHandle *pihandle, OSIoMesg *mb, s32 direction) {
Expand Down
2 changes: 1 addition & 1 deletion src/os/leointerrupt.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "libultra_internal.h"
#include "PR/rcp.h"
#include <PR/rcp.h>
#include "bstring.h"
#include "piint.h"
#include "osint.h"
Expand Down
12 changes: 6 additions & 6 deletions src/os/osCartRomInit.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include "libultra_internal.h"

#include "PR/os_vi.h"
#include "PR/os_internal.h"
#include "PR/R4300.h"
#include "PR/rcp.h"
#include "PR/os_pi.h"
#include "PR/os.h"
#include <PR/os_vi.h>
#include <PR/os_internal.h>
#include <PR/R4300.h>
#include <PR/rcp.h>
#include <PR/os_pi.h>
#include <PR/os.h>

OSPiHandle CartRomHandle;

Expand Down
2 changes: 1 addition & 1 deletion src/os/osEPiRawStartDma.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "libultra_internal.h"
#include "hardware.h"
#include "new_func.h"
#include "PR/R4300.h"
#include <PR/R4300.h>
//! @todo This define is from piint.h, but including that causes problems...
#define UPDATE_REG(reg, var) \
if (cHandle->var != pihandle->var) \
Expand Down
2 changes: 1 addition & 1 deletion src/os/osPfsIsPlug.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "libultra_internal.h"

#include "PR/os_pi.h"
#include <PR/os_pi.h>
#include "controller.h"

OSPifRam __osPfsPifRam;
Expand Down
2 changes: 1 addition & 1 deletion src/os/osPfsNumFiles.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "libultra_internal.h"
#include "PR/os.h"
#include <PR/os.h>
#include "controller.h"

s32 osPfsNumFiles(OSPfs *pfs, s32 *max_files, s32 *files_used)
Expand Down
8 changes: 4 additions & 4 deletions src/os/piint.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef _PIINT_H
#define _PIINT_H
#include "PR/os_internal.h"
#include "PR/rcp.h"
#include "PR/os_pi.h"
#include "PR/os.h"
#include <PR/os_internal.h>
#include <PR/rcp.h>
#include <PR/os_pi.h>
#include <PR/os.h>

//https://github.com/LuigiBlood/64dd/wiki/Memory-Map

Expand Down

0 comments on commit 52fd80f

Please sign in to comment.