gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > Switch Mode 4 to Mode 3

#19253 - pinkywu - Thu Apr 15, 2004 11:44 am

Hi All,
I want to switch Mode 4 to Mode 3, acutally , in my program, if I just use mode 4 or just mode 3 there are no any problem, however , when combine these two modes, there are some problems. The problem as following:
1. When I compile the program, all the header files which conver from image have having an error, which say that
" BT_bg.h:3: parse error before "const" ".
I have used different image converter to conver those images for for Mode 3 and Mode 4, Also , there is no problem when I just use one of the mode in the program.


Does anyone know what is the problem.
Thanks for your help.

#19259 - LOst? - Thu Apr 15, 2004 3:21 pm

Code means everything. It's much easier to understand what's wrong if you get the idea :P

#19260 - pinkywu - Thu Apr 15, 2004 3:36 pm

"Code means everything."
?????????
What do u means?

#19261 - niltsair - Thu Apr 15, 2004 3:38 pm

That a sample of your code would go a long way in helping us helping you out.
_________________
-Inside every large program is a small program struggling to get out. (Hoare's Law of Large Programs)
-The man who can smile when things go wrong has thought of someone he can blame it on. (Nixon's Theorem)

#19264 - Lord Graga - Thu Apr 15, 2004 4:59 pm

the file included before BG_bg.h has a variable that's defined, but not ended by a semi-colon.