mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-08-21 13:36:52 -04:00
Link gx, pad, si, exi, dvd, card
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef _JSYSTEM_JUT_JUTCONSOLE_H
|
||||
#define _JSYSTEM_JUT_JUTCONSOLE_H
|
||||
|
||||
#include "va_args.h"
|
||||
// #include "va_args.h"
|
||||
#include "JSystem/JGadget/linklist.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTFont.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define JUTDIRECTPRINT_H
|
||||
|
||||
#include "types.h"
|
||||
#include "va_args.h"
|
||||
// #include "va_args.h"
|
||||
#include "JSystem/JUtility/TColor.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -22,7 +22,7 @@ public:
|
||||
void changeFrameBuffer(void *framebuffer, u16 w, u16 h );
|
||||
|
||||
// Inline/Unused
|
||||
void printSub(u16, u16, const char *, __va_list_struct *, bool);
|
||||
void printSub(u16, u16, const char *, va_list *, bool);
|
||||
void print(u16, u16, const char *, ...);
|
||||
|
||||
bool isActive() const { return mFramebuffer != nullptr; }
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define JUTFONT_H
|
||||
|
||||
#include "types.h"
|
||||
#include "dolphin/string.h"
|
||||
#include "string.h"
|
||||
#include "dolphin/gx.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "JSystem/JUtility/TColor.h"
|
||||
|
||||
@@ -2,9 +2,8 @@
|
||||
#define JUTGAMEPAD_H
|
||||
|
||||
#include "types.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/os/OSTime.h"
|
||||
#include "dolphin/pad.h"
|
||||
#include <dolphin/os.h>
|
||||
#include <dolphin/pad.h>
|
||||
#include "JSystem/JKernel/JKRDisposer.h"
|
||||
#include "JSystem/JUtility/JUTAssertion.h"
|
||||
|
||||
@@ -103,7 +102,7 @@ public:
|
||||
static void checkResetSwitch();
|
||||
|
||||
static bool mListInitialized;
|
||||
static u8 mPadAssign[PAD_CONTROLLER_NUM];
|
||||
static u8 mPadAssign[PAD_MAX_CONTROLLERS];
|
||||
static u32 mSuppressPadReset;
|
||||
static u32 sAnalogMode;
|
||||
|
||||
@@ -290,7 +289,7 @@ public:
|
||||
|
||||
CRumble(JUTGamePad* gamePad) { this->clear(gamePad); }
|
||||
|
||||
static u8 mStatus[PAD_CONTROLLER_NUM];
|
||||
static u8 mStatus[PAD_MAX_CONTROLLERS];
|
||||
static u32 mEnabled;
|
||||
|
||||
static void startMotor(int port);
|
||||
@@ -332,14 +331,14 @@ public:
|
||||
static PADStatus *getPadStatus(int idx) { return &mPadStatus[idx]; }
|
||||
|
||||
static JSUList<JUTGamePad> mPadList;
|
||||
static CButton mPadButton[PAD_CONTROLLER_NUM];
|
||||
static CStick mPadMStick[PAD_CONTROLLER_NUM];
|
||||
static CStick mPadSStick[PAD_CONTROLLER_NUM];
|
||||
static CButton mPadButton[PAD_MAX_CONTROLLERS];
|
||||
static CStick mPadMStick[PAD_MAX_CONTROLLERS];
|
||||
static CStick mPadSStick[PAD_MAX_CONTROLLERS];
|
||||
static EStickMode sStickMode;
|
||||
static EClampMode sClampMode;
|
||||
static f32 sPressPoint;
|
||||
static f32 sReleasePoint;
|
||||
static PADStatus mPadStatus[PAD_CONTROLLER_NUM];
|
||||
static PADStatus mPadStatus[PAD_MAX_CONTROLLERS];
|
||||
|
||||
|
||||
CButton mButtons; // _18
|
||||
|
||||
Reference in New Issue
Block a user