mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] master.hpp transition: Joystick data and functions
Part of P0132, funded by [Anonymous].
This commit is contained in:
parent
3f61342898
commit
55fb6f2e56
12
master.hpp
12
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
|
||||
// ----
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue