Previous Thread
Next Thread
Print Thread
NTSC filter uses wrong border color #46255 11/09/08 07:34 PM
Joined: Nov 2008
Posts: 1
D
Dwedit Offline OP
Member
OP Offline
Member
D
Joined: Nov 2008
Posts: 1
The NTSC filter uses Black as the border color, when it should be using the NES's background color instead. A real TV displays the NES's background color inside the overscan area.

Re: NTSC filter uses wrong border color [Re: Dwedit] #46351 11/16/08 07:52 PM
Joined: Jan 2005
Posts: 154
blargg Offline
Senior Member
Offline
Senior Member
Joined: Jan 2005
Posts: 154
How odd, Nestopia actually searches for the blackest color in its palette and uses that. Should be trivial to change it to use palette entry 0. The function is GetBlack() in NstVideoFilterNtsc.cpp line 120, which ultimately sets lut.black as used in BlitType() on line 142. I'm not familiar enough to know where it can get access to NES palette RAM, though (the palette it has a reference to looks to be an RGB version of the full NES palette, rather than palette RAM).


Moderated by  Marty, R. Belmont 

Who's Online Now
0 registered members (), 82 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,692
Posts114,250
Members4,865
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3