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
aed783e1f7
commit
5ef12b5979
1
CHANGES
1
CHANGES
|
@ -22,6 +22,7 @@ Emulation fixes:
|
|||
- SM83: Emulate HALT bug
|
||||
Other fixes:
|
||||
- All: Improve export headers (fixes mgba.io/i/1738)
|
||||
- All: Correct format strings for some numbers on Windows (fixes mgba.io/i/1794)
|
||||
- Core: Ensure ELF regions can be written before trying
|
||||
- Debugger: Don't skip undefined instructions when debugger attached
|
||||
- GB Core: Fix extracting SRAM when none is present
|
||||
|
|
|
@ -115,10 +115,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