Fix division by zero

This commit is contained in:
RSDuck 2024-05-13 17:23:05 +02:00
parent 043244a56d
commit 347f4a79fd

View File

@ -497,7 +497,7 @@ void EmuThread::run()
if (NDS->GPU.GetRenderer3D().NeedsShaderCompile()) if (NDS->GPU.GetRenderer3D().NeedsShaderCompile())
{ {
compileShaders(); compileShaders();
nlines = 0; nlines = 1;
} }
else else
{ {