Very minor graphical glitch.

Please post about bugs here.
Forum rules
When making a bug report, please try to be as specific as possible. Include information on how to reproduce the bug and an example file if possible.
If the application crashed, please include the generated memory dump file as well.
User avatar
///CH3DD4R/_
Posts: 79
Joined: Mon Apr 20, 2015 9:47 pm
Location: Amarillo, Texas

Very minor graphical glitch.

Postby ///CH3DD4R/_ » Wed Jul 08, 2015 9:52 pm

Whenever used DPCM, the Register display shows the size of what I am assuming is the DPCM buffer. (I'm not sure if that's what it is. But still.) Anyway, this is what it looks like when the buffer is loaded:
Image
and then:
Image

It made me laugh the first time I saw that it says "bytestes".

Anyway, I just wanted to point that out. Literally doesn't affect the workflow at all. Doesn't affect the sound at all. Doesn't really affect much at all.
int main() {
}

User avatar
MovieMovies1
Posts: 98
Joined: Mon Apr 20, 2015 6:20 pm
Location: Norway
Contact:

Re: Very minor graphical glitch.

Postby MovieMovies1 » Wed Jul 08, 2015 10:21 pm

Can confirm this happens whenever a song with DPCM is stopped or a sample with a size of 1 is played after a bigger sample.

...also...

Image

I couldn't stop myself
[INSERT SIGNATURE HERE]

User avatar
HertzDevil
Posts: 475
Joined: Thu Apr 23, 2015 7:39 pm
Location: Hong Kong SAR
Contact:

Re: Very minor graphical glitch.

Postby HertzDevil » Thu Jul 09, 2015 4:07 am

Add

Code: Select all

pDC->FillSolidRect(0, 0, m_iWinWidth, m_iWinHeight, m_colEmptyBg);

before drawing any text in CPatternEditor::DrawRegisters(CDC*), then handle the drawing buffers appropriately; or draw a black empty row before drawing each line of text.
refactoring 0cc-famitracker

jsr
Site Admin
Posts: 112
Joined: Tue Jan 06, 2015 1:25 pm

Re: Very minor graphical glitch.

Postby jsr » Sat Jul 11, 2015 7:40 pm

I'll fix this.
Famitracker developer