When I run my emulator in fullscreen mode, the screen res is set to 320x240. Since the NES runs at 256x240, I have told the emulator to lock the surface at the following coordinates:
rect.bottom = 240;
rect.left = 32;
rect.right = 288;
rect.top = 0;
However, I get the following:
Obviously the problem lies in the area that I choose to Lock. What am I doing wrong? Or is it not possible for Lock to do what I have suggested?
rect.bottom = 240;
rect.left = 32;
rect.right = 288;
rect.top = 0;
However, I get the following:
Code:
Instead of:
xxxxxxxxxxxxx - Scanline #0
xxxxxxxxxxxxx - ...
xxxxxxxxxxxxx - ...
xxxxxxxxxxxxx - Scanline #239
I get:
xxxxxxxxxxxxxxx - Scanline #0
xxxxxxxxxxxxxxxxxxx - ...
xxxxxxxxxxxxxxxxxxx - ...
xxxxxxxx - Scanline #159
xxxxxxxxxxxxx - Scanline #0
xxxxxxxxxxxxx - ...
xxxxxxxxxxxxx - ...
xxxxxxxxxxxxx - Scanline #239
I get:
xxxxxxxxxxxxxxx - Scanline #0
xxxxxxxxxxxxxxxxxxx - ...
xxxxxxxxxxxxxxxxxxx - ...
xxxxxxxx - Scanline #159
Obviously the problem lies in the area that I choose to Lock. What am I doing wrong? Or is it not possible for Lock to do what I have suggested?