mirror of https://github.com/mgba-emu/mgba.git
All: Correct format strings for some numbers on Windows (fixes #1794)
This commit is contained in:
parent
2bde27fd90
commit
f6b8f9801c
1
CHANGES
1
CHANGES
|
@ -4,6 +4,7 @@ Emulation fixes:
|
|||
- GB MBC: Fix MBC1 RAM enable bit selection
|
||||
- GB MBC: Fix MBC2 bit selection
|
||||
Other fixes:
|
||||
- All: Correct format strings for some numbers on Windows (fixes mgba.io/i/1794)
|
||||
- GB Core: Fix extracting SRAM when none is present
|
||||
- GBA Savedata: Fix extracting save when not yet configured in-game
|
||||
Misc:
|
||||
|
|
|
@ -120,10 +120,8 @@ typedef intptr_t ssize_t;
|
|||
#if defined(_3DS) || defined(GEKKO) || defined(PSP2)
|
||||
// newlib doesn't support %z properly by default
|
||||
#define PRIz ""
|
||||
#elif defined(_WIN64)
|
||||
#define PRIz "I64"
|
||||
#elif defined(_WIN32)
|
||||
#define PRIz ""
|
||||
#elif defined(_MSC_VER)
|
||||
#define PRIz "I"
|
||||
#else
|
||||
#define PRIz "z"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue