LeoCJCreateLeoManager decomp

This commit is contained in:
Diamond Lewis 2023-07-25 23:04:11 -05:00
parent b3a2bd74ae
commit d3b85e728b
2 changed files with 2 additions and 7 deletions

View File

@ -32,8 +32,8 @@ typedef u8 LEOStatus;
typedef struct
{
u8 drive; /* version of hw */
u8 driver; /* version of sw */
u8 driver; /* version of hw */
u8 drive; /* version of sw */
u8 deviceType; /* dev type, always 00 */
u8 ndevices; /* # of devices, always 01 */
} LEOVersion;

View File

@ -4,8 +4,6 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpointer-to-int-cast"
#ifdef NON_MATCHING
// https://decomp.me/scratch/OYMx2
s32 LeoCJCreateLeoManager(OSPri comPri, OSPri intPri, OSMesg *cmdBuf, s32 cmdMsgCnt) {
OSPiHandle* driveRomHandle;
OSPiHandle* leoDiskHandle;
@ -81,6 +79,3 @@ s32 LeoCJCreateLeoManager(OSPri comPri, OSPri intPri, OSMesg *cmdBuf, s32 cmdMsg
return LEO_ERROR_GOOD;
}
#else
#pragma GLOBAL_ASM("asm/nonmatchings/libleo/cjcreateleomanager/LeoCJCreateLeoManager.s")
#endif