We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We don't check the SDL/Verilator screenbuffer array index is valid.
Pixel screenbuffer[H_RES*V_RES]; // update pixel if not in blanking interval if (top->sdl_de) { Pixel* p = &screenbuffer[top->sdl_sy*H_RES + top->sdl_sx]; p->a = 0xFF; // transparency p->b = top->sdl_b; p->g = top->sdl_g; p->r = top->sdl_r; }
An invalid index will corrupt the simulation or (more likely) cause a core dump.
The display signals module should never set sdl_de high with an invalid sdl_sy or sdl_sx, but we shouldn't assume this.
sdl_de
sdl_sy
sdl_sx
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We don't check the SDL/Verilator screenbuffer array index is valid.
An invalid index will corrupt the simulation or (more likely) cause a core dump.
The display signals module should never set
sdl_de
high with an invalidsdl_sy
orsdl_sx
, but we shouldn't assume this.The text was updated successfully, but these errors were encountered: