#151536 - krozen - Thu Feb 28, 2008 6:10 pm
Hi guys,
I'm having some issues with getting windowing working on the DS. I've tried it out on hardware and emulator with no avail.
So, I've set up window 0 to display a background, and have set the extents using the following code:
This works fine. However, if I enable window 1 (alone) with the very same extents as follows:
The background will be displayed about 100 pixels to the right of where it should be. Any suggestions would be great!
Cheers
I'm having some issues with getting windowing working on the DS. I've tried it out on hardware and emulator with no avail.
So, I've set up window 0 to display a background, and have set the extents using the following code:
Code: |
WIN0_X0 = 0; WIN0_Y0 = 0; WIN0_X1 = 100; WIN0_Y1 = 130; |
This works fine. However, if I enable window 1 (alone) with the very same extents as follows:
Code: |
WIN1_X0 =0; WIN1_Y0 =0; WIN1_X1 =100; WIN1_Y1 =130; |
The background will be displayed about 100 pixels to the right of where it should be. Any suggestions would be great!
Cheers