1
0
Fork 0

Codechange: Null video driver: End on game exit

The Null driver now exits when the game ends.

It also gains the ability to run for an unlimited number of
ticks (using '-v null:ticks=0').
pull/13467/head
Matthias Urlichs 2025-02-04 01:13:58 +01:00
parent 1f7760dc7a
commit abdea49d24
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void VideoDriver_Null::MainLoop()
{
uint i;
for (i = 0; i < this->ticks; i++) {
for (i = 0; i < this->ticks && ! _exit_game; i++) {
::GameLoop();
::InputLoop();
::UpdateWindows();