Fixed a bug in the LPT devices initialization that was causing a hard freeze on hard reset.

This commit is contained in:
OBattler
2018-02-07 01:46:45 +01:00
parent 437b519d94
commit f9d881b1e7

View File

@@ -48,9 +48,11 @@ static void *lpt_device_ps[3];
void lpt_devices_init()
{
int i = 0;
int c = 0;
int c;
for (i = 0; i < 3; i++) {
c = 0;
while (strcmp(lpt_devices[c].internal_name, lpt_device_names[i]) && strlen(lpt_devices[c].internal_name) != 0)
c++;