From ae734ed71c1e40034480de0b75a95d85373b09f7 Mon Sep 17 00:00:00 2001 From: zilmar Date: Mon, 18 Jan 2016 19:55:34 +1100 Subject: [PATCH] [Project64] Get Rumblepak.cpp to use standard types --- Source/Project64-core/N64System/Mips/Rumblepak.cpp | 2 +- Source/Project64-core/N64System/Mips/Rumblepak.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); };