wok view visualboyadvance/stuff/1.7.2-gcc41.patch @ rev 8066
mirror-tools: add dir-generator.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 21 11:09:19 2011 +0100 (2011-01-21) |
parents | |
children |
line source
1 diff -ru src/prof/prof.cpp src/prof/prof.cpp
2 --- src/prof/prof.cpp 2004-05-14 00:31:58.000000000 +1000
3 +++ src/prof/prof.cpp 2006-06-03 13:49:41.000000000 +1000
4 @@ -266,7 +266,7 @@
5 for (toindex=froms[fromindex]; toindex!=0; toindex=tos[toindex].link) {
6 if(profWrite8(fd, GMON_TAG_CG_ARC) ||
7 profWrite32(fd, (u32)frompc) ||
8 - profWrite32(fd, (u32)tos[toindex].selfpc) ||
9 + profWrite32(fd, (u32)(intptr_t)tos[toindex].selfpc) ||
10 profWrite32(fd, tos[toindex].count)) {
11 systemMessage(0, "mcount: arc");
12 fclose(fd);
13 diff -ru src/sdl/debugger.cpp src/sdl/debugger.cpp
14 --- src/sdl/debugger.cpp 2004-05-14 00:13:14.000000000 +1000
15 +++ src/sdl/debugger.cpp 2006-06-03 13:49:57.000000000 +1000
16 @@ -950,9 +950,9 @@
17 {
18 u32 address = 0;
19 if(mem >= (u32*)&workRAM[0] && mem <= (u32*)&workRAM[0x3ffff])
20 - address = 0x2000000 + ((u32)mem - (u32)&workRAM[0]);
21 + address = 0x2000000 + ((u32)(intptr_t)mem - (u32)(intptr_t)&workRAM[0]);
22 else
23 - address = 0x3000000 + ((u32)mem - (u32)&internalRAM[0]);
24 + address = 0x3000000 + ((u32)(intptr_t)mem - (u32)(intptr_t)&internalRAM[0]);
26 if(size == 2)
27 printf("Breakpoint (on write) address %08x old:%08x new:%08x\n",