mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-11 19:29:35 +00:00
Compare commits
No commits in common. "ca159c3cb4f38ba1beb37225507439fe91cbec25" and "443d9cad10838e6af044bae3f4632b87bb667fde" have entirely different histories.
ca159c3cb4
...
443d9cad10
|
@ -246,7 +246,7 @@ static HANDLE g_hMemImage = NULL; // NB. When not initialised, this handle is NU
|
|||
#endif
|
||||
|
||||
BYTE __stdcall IO_Annunciator(WORD programcounter, WORD address, BYTE write, BYTE value, ULONG nCycles);
|
||||
static void FreeMemImage(void);
|
||||
void FreeMemImage(void);
|
||||
|
||||
//=============================================================================
|
||||
|
||||
|
@ -1544,7 +1544,7 @@ static LPBYTE AllocMemImage(void)
|
|||
// . This is a fix (and optimisation) for 6502 opcodes that do a 16-bit read at 6502 address $FFFF. (GH#1285)
|
||||
SYSTEM_INFO info;
|
||||
GetSystemInfo(&info);
|
||||
bool res = (info.dwAllocationGranularity == _6502_MEM_LEN);
|
||||
bool res = info.dwAllocationGranularity <= _6502_MEM_LEN;
|
||||
|
||||
if (res)
|
||||
{
|
||||
|
@ -1594,10 +1594,6 @@ static LPBYTE AllocMemImage(void)
|
|||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
LogFileOutput("MemInitialize: SYSETEM_INFO.wAllocationGranularity = 0x%08X.\n", info.dwAllocationGranularity);
|
||||
}
|
||||
|
||||
if (!res)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user