[Project64] Get Rumblepak.cpp to use standard types
This commit is contained in:
parent
790de2eace
commit
ae734ed71c
|
@ -29,7 +29,7 @@ void Rumblepak::ReadFrom(uint8_t * command)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Rumblepak::WriteTo(int Control, uint8_t * command)
|
void Rumblepak::WriteTo(int32_t Control, uint8_t * command)
|
||||||
{
|
{
|
||||||
uint32_t address = (command[3] << 8) | (command[4] & 0xE0);
|
uint32_t address = (command[3] << 8) | (command[4] & 0xE0);
|
||||||
|
|
||||||
|
|
|
@ -14,5 +14,5 @@ class Rumblepak
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static void ReadFrom(uint8_t * command);
|
static void ReadFrom(uint8_t * command);
|
||||||
static void WriteTo(int Control, uint8_t * command);
|
static void WriteTo(int32_t Control, uint8_t * command);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue