1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-22 18:15:25 +01:00

Fixed a number decoding mistake for wpc95 games

This commit is contained in:
Gerry Stellenberg
2010-11-21 15:06:53 -06:00
parent d6650531cd
commit 06e651026a

View File

@@ -401,7 +401,8 @@ PR_EXPORT uint16_t PRDecode(PRMachineType machineType, const char *str)
else if (x <= 44)
{
if (machineType == kPRMachineWPC95)
return x + 7;
//return x + 7;
return x + 31;
else
return x + 107; // WPC 37-44 use 8-driver board (mapped to drivers 144-151)
}