mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
IniFile: Fix writing 64-bit hex values.
This commit is contained in:
parent
9623f515e7
commit
ce632ec079
@ -5,6 +5,8 @@
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <strings.h>
|
||||
#endif
|
||||
@ -192,7 +194,7 @@ void Section::Set(const char* key, uint32_t newValue) {
|
||||
}
|
||||
|
||||
void Section::Set(const char* key, uint64_t newValue) {
|
||||
Set(key, StringFromFormat("0x%016lx", newValue).c_str());
|
||||
Set(key, StringFromFormat("0x%016" PRIx64, newValue).c_str());
|
||||
}
|
||||
|
||||
void Section::Set(const char* key, float newValue) {
|
||||
|
Loading…
Reference in New Issue
Block a user