0x8000 = 32768 = pages * bytes_per_page

This commit is contained in:
2016-02-04 14:39:43 -05:00
parent 8be4b5bb0e
commit ebbecdef7e
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void Mempak::Format(int32_t Control)
memcpy(&Mempaks[Control][0], &Initialize[0], sizeof(Initialize));
for (size_t count = sizeof(Initialize); count < 0x8000; count += 2)
for (size_t count = sizeof(Initialize); count < 128 * 256; count += 2)
{
Mempaks[Control][count] = 0x00;
Mempaks[Control][count + 1] = 0x03;