MSVC compilation fix

This commit is contained in:
Alberto Fustinoni 2024-06-18 23:26:59 +09:00
parent 330fa5efd3
commit 85649de7fb
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ int g_EmulatorRunning = 0; /* need separate boolean to tell if emul
/* Need some guardbands so we can import g_rdram in parallel-RDP on Intel Windows which requires 64k alignment.
* Windows obj files don't seem to support more than 8 KiB alignment ... */
uint32_t rdram_pre_guardband[16 * 1024];
ALIGN(4 * 1024, uint32_t g_rdram[RDRAM_MAX_SIZE/4]);
ALIGN(4096, uint32_t g_rdram[RDRAM_MAX_SIZE/4]);
uint32_t rdram_post_guardband[16 * 1024];
struct device g_dev;
struct r4300_core g_r4300;

View File

@ -37,7 +37,7 @@ extern int g_MemHasBeenBSwapped;
extern int g_DDMemHasBeenBSwapped;
extern int g_EmulatorRunning;
extern ALIGN(4 * 1024, uint32_t g_rdram[RDRAM_MAX_SIZE/4]);
extern ALIGN(4096, uint32_t g_rdram[RDRAM_MAX_SIZE/4]);
extern struct device g_dev;