dma: don't copy out of range
authornotaz <notasas@gmail.com>
Sat, 29 Jul 2023 23:31:02 +0000 (02:31 +0300)
committernotaz <notasas@gmail.com>
Thu, 3 Aug 2023 18:08:20 +0000 (21:08 +0300)
commitd01bb9047a4d17c2be0da31904eb7696d610091f
tree65d2031094164c1c74fbe901262f7fbb4db2ce64
parentb466144072efb8c2bc1cea0d2d3ea75dc939bd73
dma: don't copy out of range

it should wrap, but that's not practical so just limit for now
libretro/pcsx_rearmed#740
libpcsxcore/cdrom.c
libpcsxcore/psxdma.c
libpcsxcore/psxdma.h