summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorRachel Bryk <RachelBryk@gmail.com>2013-06-24 09:14:22 -0400
committerRachel Bryk <RachelBryk@gmail.com>2013-06-24 09:16:14 -0400
commitf73a97b2429bb7aa6e2b2d02c4cbc0e776a84987 (patch)
tree21f6fe94cf88766e9d96b710a5fd136e8c64980f /Source/Core
parent5f9199830285639a03d82e211de776e9d3e73a66 (diff)
Revert "fix warning: format '%x' expects argument of type 'unsigned int*', but argument 3 has type 'u8* {aka unsigned char*}'"
This reverts commit b9953f5d6a1f54b53198bf1bd2b59bac1a90425b.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/Movie.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Core/Src/Movie.cpp b/Source/Core/Core/Src/Movie.cpp
index 7a175eb6b0..0e31be380f 100644
--- a/Source/Core/Core/Src/Movie.cpp
+++ b/Source/Core/Core/Src/Movie.cpp
@@ -60,7 +60,7 @@ std::string author = "";
u64 g_titleID = 0;
unsigned char MD5[16];
u8 bongos;
-u32 revision[5];
+u8 revision[20];
bool g_bRecordingFromSaveState = false;
bool g_bPolled = false;
@@ -1184,9 +1184,9 @@ void GetSettings()
g_bClearSave = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD;
- for (int i = 0; i < 5; ++i)
+ for (int i = 0; i < 20; ++i)
{
- sscanf(SCM_REV_STR + 8 * i, "%08x", &revision[i]);
+ sscanf(SCM_REV_STR + 2 * i, "%02x", &revision[i]);
}
}