aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cache.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.inc b/cache.inc
index 8d471bf6..95c5f48e 100644
--- a/cache.inc
+++ b/cache.inc
@@ -65,6 +65,7 @@ getcachesector:
push gs
pop es
mov bx,[CachePtrs+cptr.next] ; "Next most recent than head node"
+ mov [bx+cptr.sector],eax
mov si,bx
sub bx,CachePtrs+cptr_size
shl bx,SECTOR_SHIFT-cptr_size_lg2 ; Buffer address