diff --git a/master.hpp b/master.hpp index 10fcc5be..8b1fd671 100644 --- a/master.hpp +++ b/master.hpp @@ -240,6 +240,18 @@ void MASTER_RET grcg_off(void); #endif // ------------------------- +// Joystick +// -------- + +extern int js_bexist; +extern unsigned js_stat[2]; + +int MASTER_RET js_start(int force); + +void MASTER_RET js_end(void); +int MASTER_RET js_sense(void); +// -------- + // Heap // ---- diff --git a/th03/inp_m_w.cpp b/th03/inp_m_w.cpp index 045596ac..19a82539 100644 --- a/th03/inp_m_w.cpp +++ b/th03/inp_m_w.cpp @@ -1,7 +1,8 @@ #pragma codeseg SHARED extern "C" { -#include "ReC98.h" +#include "platform.h" +#include "master.hpp" #include "th02/hardware/frmdelay.h" #include "th03/hardware/input.h"