svofski / vector06sdl

Opensource Vector-06C emulator in C++ | Опенсорсный эмулятор Вектора-06ц
25 stars 1 forks source link

crash in save_frame when video is enabled #17

Open svofski opened 3 years ago

svofski commented 3 years ago

save_frame is usually used in the tests so it's not a very visible issue, but when save_frame is invoked with a real video renderer, this->bmp is nullptr. saving must be done from TV::render() instead.