projects
/
gbajam22
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6883b
)
debug print for iwram_brk level
author
John Tsiombikas
<nuclear@member.fsf.org>
Fri, 21 Oct 2022 22:25:48 +0000
(
01:25
+0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Fri, 21 Oct 2022 22:25:48 +0000
(
01:25
+0300)
src/util.c
patch
|
blob
|
history
diff --git
a/src/util.c
b/src/util.c
index
2bd0338
..
2d98ee8
100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-17,6
+17,7
@@
int iwram_brk(void *addr)
if((char*)addr < &__iheap_start) {
addr = &__iheap_start;
}
+ emuprint("iwram brk: %p (sp: %p)", addr, get_sp());
if(addr > get_sp()) {
/*return -1;*/
panic(get_pc(), "iwram_brk (%p) >= sp", addr);