diff --git a/Source/Project64-core/N64System/Mips/Rumblepak.cpp b/Source/Project64-core/N64System/Mips/Rumblepak.cpp index f63d69ef1..fd1607613 100644 --- a/Source/Project64-core/N64System/Mips/Rumblepak.cpp +++ b/Source/Project64-core/N64System/Mips/Rumblepak.cpp @@ -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); diff --git a/Source/Project64-core/N64System/Mips/Rumblepak.h b/Source/Project64-core/N64System/Mips/Rumblepak.h index 7101c8043..3e76eacce 100644 --- a/Source/Project64-core/N64System/Mips/Rumblepak.h +++ b/Source/Project64-core/N64System/Mips/Rumblepak.h @@ -14,5 +14,5 @@ class Rumblepak { public: static void ReadFrom(uint8_t * command); - static void WriteTo(int Control, uint8_t * command); + static void WriteTo(int32_t Control, uint8_t * command); };