portx64: a couple things breaking the build in github

This commit is contained in:
Raf committed 2024-08-09 00:50:21 +08:00
1 parent a11abc0511
commit 5bee1b0cce
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ extern u32 osPiGetStatus(void);
extern s32 osPiGetDeviceType(void);
extern s32 osPiWriteIo(u32, u32);
extern s32 osPiReadIo(u32, u32 *);
extern s32 osPiStartDma(OSIoMesg *, s32, s32, uintptr_t, void *, u32,
extern s32 osPiStartDma(OSIoMesg *, s32, s32, u32, void *, u32,
OSMesgQueue *);
extern void osCreatePiManager(OSPri, OSMesgQueue *, OSMesg *, s32);
+3 -2
View File
@@ -14,11 +14,12 @@ void preprocessALCMidiHdr(u8 *data, u32 size);
u8* preprocessSequences(u8 *data, u32 size, u32 *outSize);
u8* preprocessTexturesList(u8 *data, u32 size, u32 *outSize);
void preprocessBgSection1(u8* data, u32 size);
void preprocessBgSection2(u8 *data, u32 size);
void preprocessBgSection3(u8* data, u32 size);
void preprocessBgSection1Header(u8 *data, u32 size);
void preprocessBgSection2Header(u8 *data, u32 size);
void preprocessBgSection2(u8 *data, u32 size);
void preprocessBgSection3Header(u8 *data, u32 size);
void preprocessBgSection3(u8 *data, u32 size);
void preprocessBgLights(u8 *data, u32 ofs);
u8 *preprocessLangFile(u8 *data, u32 size, u32 *outSize);
+1 -1
View File
@@ -1,7 +1,7 @@
#include <os_internal.h>
#include "piint.h"
s32 osPiStartDma(OSIoMesg *mb, s32 priority, s32 direction, uintptr_t devAddr, void *dramAddr, u32 size, OSMesgQueue *mq)
s32 osPiStartDma(OSIoMesg *mb, s32 priority, s32 direction, u32 devAddr, void *dramAddr, u32 size, OSMesgQueue *mq)
{
register s32 ret;