All my VDP_drawText() are gone with SGDK 1.4.1
Moderator: Stef
-
- Interested
- Posts: 13
- Joined: Thu Jul 04, 2019 4:25 am
- Location: Juiz de Fora/MG, Brasil
- Contact:
All my VDP_drawText() are gone with SGDK 1.4.1
I updated SGDK to 1.4.1 and suddenly all texts created with VDP_drawText from my program are gone. Is there anything I can do?
-
- Interested
- Posts: 13
- Joined: Thu Jul 04, 2019 4:25 am
- Location: Juiz de Fora/MG, Brasil
- Contact:
Re: All my VDP_drawText() are gone with SGDK 1.4.1
Before I was using the command line: VDP_doVRamDMA((u32) mytile_font8bits, 46080, 1536); to set my font in the game. I used VDP_resetScreen() without problems ... Now when I use VDP_resetScreen() I have to set VDP_doVRamDMA((u32) mytile_font8bits, 46080, 1536) again. This solved the problem.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: All my VDP_drawText() are gone with SGDK 1.4.1
Thanks for posting the fix. That may help someone else in the future who runs into the same thing.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: All my VDP_drawText() are gone with SGDK 1.4.1
I completely missed your message @DavilaGames !
Indeed VDP_resetScreen(..) does more now than before (it also clear VRAM), explaining you need to re-upload the font after calling it.
Definitely a problem, i will add the (default) font upload to the function ! Thanks for reporting
Indeed VDP_resetScreen(..) does more now than before (it also clear VRAM), explaining you need to re-upload the font after calling it.
Definitely a problem, i will add the (default) font upload to the function ! Thanks for reporting