fix pause

This commit is contained in:
cxy004 2021-08-17 18:33:46 +08:00
parent b297dbf557
commit 89ab6750d7

View File

@ -20,9 +20,9 @@ resume:
SUPV_START:
lui t0, %hi(SWITCH) + 1
lw t1, %lo(SWITCH)(t0)
sltiu t1, t1, 1
nor t1, t1, t1
and s0, s0, t1
andi s0, s0, 0x2
sltu t1, zero, t1
or s0, s0, t1
la t0, kb_buffer
lw t2, -8(t0)
lw t3, -4(t0)