Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: peripherals/ide/divide.c
- ===================================================================
- --- peripherals/ide/divide.c (revision 4683)
- +++ peripherals/ide/divide.c (working copy)
- @@ -484,6 +484,8 @@
- libspectrum_byte *memory =
- memory_pool_allocate_persistent( DIVIDE_PAGES * DIVIDE_PAGE_LENGTH, 1 );
- + memset( memory, 0, DIVIDE_PAGES * DIVIDE_PAGE_LENGTH );
- +
- for( i = 0; i < DIVIDE_PAGES; i++ ) {
- divide_ram[i] = memory + i * DIVIDE_PAGE_LENGTH;
- for( j = 0; j < MEMORY_PAGES_IN_8K; j++ ) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement