| View previous topic :: View next topic |
| Author |
Message |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Sat Aug 27, 2005 6:12 pm Post subject: Invalid operands to binary |
|
|
Having not updated my toolchain for a while, I run toolchain.sh and update. Afterwards, I try to compile my program which compiled perfectly before the update, the line | Code: | | vramaddr = (0x40000000 | sceGeEdramGetAddr()) + VRAM_OFFSET; | now created the error: Invalid operands to binary.
Seeing as this code was borrowed from spharm, I decided to compile that, but I got the same error.
Have I updated incorrectly, or is there a code-wise solution to this problem? Thanks. |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
Posted: Sat Aug 27, 2005 6:55 pm Post subject: |
|
|
I guess sceGeEdramGetAddr() is now returning void * not unsigned int.
Jim _________________ http://www.dbfinteractive.com |
|
| Back to top |
|
 |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Sat Aug 27, 2005 9:05 pm Post subject: |
|
|
Well, I changed the code to | Code: | | vramaddr = (0x40000000 | 0x04000000) + VRAM_OFFSET; | Which works, but I don't understand why the GeEdram function was changed...oh well. |
|
| Back to top |
|
 |
|