notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6375e62
)
md, fix irq priority handling for H-int
author
kub
<derkub@gmail.com>
Sat, 10 Apr 2021 19:31:16 +0000
(21:31 +0200)
committer
kub
<derkub@gmail.com>
Sat, 10 Apr 2021 19:34:48 +0000
(21:34 +0200)
pico/pico_cmn.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/pico_cmn.c
b/pico/pico_cmn.c
index
c5d7227
..
d1ebe22
100644
(file)
--- a/
pico/pico_cmn.c
+++ b/
pico/pico_cmn.c
@@
-67,7
+67,8
@@
static void do_hint(struct PicoVideo *pv)
pv->pending_ints |= 0x10;
if (pv->reg[0] & 0x10) {
elprintf(EL_INTS, "hint: @ %06x [%u]", SekPc, SekCyclesDone());
- SekInterrupt(4);
+ if (SekIrqLevel < 4)
+ SekInterrupt(4);
}
}