Fixed an old annoying bug where a restored video card wouldn't properly display a blinking cursor; originally, I assumed it was a CRTC register restoration bug, but actually, some supporting variables (eg, cBlinks) were not getting initialized in both the reset() and restore() code paths. This is also a good time to remember that when an uninitialized array from some hardware state gets serialized and deserialized to/from JSON, the array is restored as a series of "null" values, not as "undefined" values, so it's best for any code checking for undefined values to use "== null" rather than "=== undefined".
This commit is contained in:
parent
4a2ab39ad6
commit
ed75397b83
10 changed files with 58 additions and 36 deletions
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue