SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion > Bug Reports

Closed Thread
 
Thread Tools Search this Thread
Old 05-24-2018   #1
Monster psychic cat
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; 2 Weeks Ago at 12:55 AM.
Monster psychic cat is offline  
Old 2 Weeks Ago   #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  
Closed Thread
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 05:22 PM.


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