Merge remote-tracking branch 'upstream/master' into d_a_do

This commit is contained in:
Pheenoh
2023-01-20 11:42:12 -07:00
105 changed files with 2072 additions and 7028 deletions
+12
View File
@@ -7,8 +7,20 @@
extern "C" {
#endif
#define ARQ_CHUNK_SIZE_DEFAULT 4096
typedef void (*ARQCallback)(u32 request_address);
typedef enum _ARamType {
ARAM_DIR_MRAM_TO_ARAM,
ARAM_DIR_ARAM_TO_MRAM,
} ARamType;
typedef enum _ArqPriotity {
ARQ_PRIORITY_LOW,
ARQ_PRIORITY_HIGH,
} ArqPriotity;
typedef struct ARQRequest {
struct ARQRequest* next;
u32 owner;
+1 -1
View File
@@ -117,7 +117,7 @@ void __CARDTxHandler(s32 chan, OSContext* context);
void __CARDUnlockedHandler(s32 chan, OSContext* context);
s32 __CARDEnableInterrupt(s32 chan, BOOL enable);
s32 __CARDReadStatus(s32 chan, u8* status);
void __CARDReadVendorID();
s32 __CARDReadVendorID(s32 chan, u16* vendorId);
s32 __CARDClearStatus(s32 chan);
s32 __CARDStart(s32 chan, CARDCallback txCallback, CARDCallback exiCallback);
s32 __CARDReadSegment(s32 chan, CARDCallback callback);
-3
View File
@@ -7,8 +7,6 @@
extern "C" {
#endif
vu32 __DIRegs[16] : 0xCC006000;
typedef enum DVDState {
DVD_STATE_END = 0x0,
DVD_STATE_BUSY = 0x1,
@@ -50,7 +48,6 @@ struct DVDFileInfo;
struct DVDCommandBlock;
typedef void (*DVDCBCallback)(s32 result, struct DVDCommandBlock* block);
typedef void (*DVDCallback)(s32 result, struct DVDFileInfo* info);
typedef void (*DVDLowCallback)(u32 intType);
typedef struct DVDCommandBlock {
/* 0x00 */ struct DVDCommandBlock* next;
+3
View File
@@ -3,4 +3,7 @@
#include "dolphin/types.h"
typedef void (*DVDLowCallback)(u32 intType);
vu32 __DIRegs[16] : 0xCC006000;
#endif /* DVDLOW_H */
+1 -1
View File
@@ -131,7 +131,7 @@ void __OSEVEnd();
static void OSDefaultExceptionHandler(__OSException exception, OSContext* context);
void __OSPSInit(void);
u32 __OSGetDIConfig(void);
void OSRegisterVersion(char* version);
void OSRegisterVersion(const char* version);
void OSSwitchFiberEx(u32, u32, u32, u32, u32, u32);
inline s16 __OSf32tos16(register f32 inF) {