SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X)

 
 
Thread Tools Search this Thread
Old 05-24-2018   #1
Jimita
 
Jimita's Avatar
Default "homremoval" cvar disregards non-green resolutions



Line 777 of v_video.c checks for BASEVIDWIDTH and BASEVIDHEIGHT, rather than vid.width and vid.height:

Code:
if (x == 0 && y == 0 && w == BASEVIDWIDTH && h == BASEVIDHEIGHT)
{ // Clear the entire screen, from dest to deststop. Yes, this really works.
	memset(screens[0], (UINT8)(c&255), vid.width * vid.height * vid.bpp);
	return;
}
It conflicts with the actual homremoval code:

Code:
V_DrawFill(0, 0, vid.width, vid.height, 31);

Last edited by Monster Iestyn; 09-02-2018 at 12:55 AM.
Jimita is offline  
Old 08-31-2018   #2
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

I have made a fix for this bug, the merge request for which is here: https://git.magicalgirl.moe/STJr/SRB...e_requests/273
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline  
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:17 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.