mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #305 from magumagu/movie-scanf
Movie: don't use "hh" scanf modifier.
This commit is contained in:
commit
c5d506142f
@ -1192,11 +1192,11 @@ void GetSettings()
|
||||
if (!Core::g_CoreStartupParameter.bWii)
|
||||
g_bClearSave = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
|
||||
bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD;
|
||||
u8 tmp[21];
|
||||
unsigned int tmp;
|
||||
for (int i = 0; i < 20; ++i)
|
||||
{
|
||||
sscanf(&scm_rev_git_str[2 * i], "%02hhx", &tmp[i]);
|
||||
revision[i] = tmp[i];
|
||||
sscanf(&scm_rev_git_str[2 * i], "%02x", &tmp);
|
||||
revision[i] = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user