Graphic based area of development (Graphics Processing Unit), including the Geometry Transform Engine (GTE), TIM, STR (MDEC), etc.
- C Programming Expert
- Posts: 140
- Joined: December 19th, 2012, 8:08 pm
- IRC: t0rxe
- Motto: /\OX
- PlayStation Model: SCPH-5502
- Location: Australia
This function makes a 1024x512px rectangle in the framebuffer (coordinates x0, y0) with the colour black
It is very useful to ensure no garbage is seen whilst loading in new images, or you wish to clear the entire framebuffer. It should be called (once) in your video mode setup stage.
Code: Select all
setRECT(&rectTL, 0, 0, 1024, 512);
ClearImage2(&rectTL, 0, 0, 0);
"Nostalgia isn't a big enough word to describe the PlayStation from my eyes"
- Curious PSXDEV User
- Posts: 17
- Joined: February 5th, 2013, 3:08 am
Nice...thanks for the post.
Users browsing this forum: No registered users and 1 guest