Stefan Weil 913895ab96 hw/fmopl: Fix buffer access out-of-bounds errors
Index 75 is one too large for AR_TABLE[75], DR_TABLE[75].
This error was reported by cppcheck.

hw/fmopl.c:600: error: Buffer access out-of-bounds: OPL.AR_TABLE
hw/fmopl.c:601: error: Buffer access out-of-bounds: OPL.DR_TABLE

Fix this by limiting the access to the allowed range.
MultiArcadeMachineEmulator has newer versions of fmopl,
but using these requires more efforts.

Cc: Blue Swirl <blauwirbel@gmail.com>
Reviewed-by: malc <av1474@comtv.ru>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2011-03-13 13:35:21 +00:00
..
2011-02-20 15:18:26 +01:00
2011-01-29 15:07:19 +01:00
2011-02-20 09:33:46 +00:00
2011-02-20 09:34:06 +00:00
2011-03-06 20:10:58 +01:00
2011-01-29 14:06:07 +01:00
2011-02-21 15:46:53 +01:00
2011-02-11 23:31:17 +01:00
2011-02-04 06:33:26 -06:00
2011-02-21 15:46:53 +01:00
2011-02-01 17:01:41 +00:00
2011-03-07 13:42:37 +01:00
2011-03-07 13:42:36 +01:00
2011-03-07 13:42:36 +01:00
2011-03-07 13:42:36 +01:00
2011-03-07 13:42:36 +01:00
2011-03-07 13:42:37 +01:00
2011-03-07 13:42:36 +01:00
2011-03-07 13:42:36 +01:00
2011-03-07 13:42:36 +01:00
2011-03-10 03:38:13 +01:00
2011-02-11 23:31:17 +01:00
2011-02-20 09:35:06 +00:00
2011-02-20 09:35:06 +00:00
2011-02-20 09:35:06 +00:00
2011-03-10 03:38:13 +01:00
2011-02-20 09:31:21 +00:00
2011-02-20 09:35:06 +00:00
2011-02-20 18:23:00 +01:00
2011-03-13 13:24:42 +00:00
2011-02-20 09:35:06 +00:00
2011-02-20 18:23:07 +01:00
2011-02-21 15:41:12 +01:00
2011-02-25 12:13:38 +01:00
2011-03-03 15:04:51 +01:00
2011-03-10 03:11:47 +01:00
2011-03-13 13:24:42 +00:00
2011-02-20 18:23:07 +01:00
2011-02-20 09:32:50 +00:00
2011-01-29 14:06:07 +01:00
2011-02-20 09:34:31 +00:00
2011-02-20 09:34:31 +00:00
2011-02-20 09:34:31 +00:00
2011-02-17 19:34:52 +00:00
2011-02-14 12:39:46 -02:00