dingusppc/cpu/ppc
joevt 64fec88436 Fix compiler warnings: cast loses precision.
Use explicit cast when converting large integer types to smaller integer types when it is known that the most significant bytes are not required.
For pcidevice, check the ROM file size before casting to int. We'll allow expansion ROM sizes up to 4MB but usually they are 64K, sometimes 128K, rarely 256K.
for machinefactory, change the type to size_t so that it can correctly get the size of files that are larger than 4GB; it already checks the file size is 4MB before we need to cast to uint32_t.
For floppyimg, check the image size before casting to int. For raw images, only allow files up to 2MB. For DiskCopy42 images, it already checks the file size, so do the cast after that.
2023-01-11 01:17:12 -08:00
..
test FP Opcode Test Fixes 2021-10-30 16:43:13 -07:00
CMakeLists.txt Fix includes for loguru and SDL. 2021-09-16 00:46:38 +02:00
poweropcodes.cpp Fix compiler warnings: cast loses precision. 2023-01-11 01:17:12 -08:00
ppcdisasm.cpp Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
ppcdisasm.h Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
ppcemu.h ppcemu: add PVR for 603ev. 2022-12-23 17:19:46 +01:00
ppcexceptions.cpp Interpreter loop is now controlled by exec_flags. 2022-03-02 16:55:20 +01:00
ppcexec.cpp Fix compiler warnings: cast loses precision. 2023-01-11 01:17:12 -08:00
ppcfpopcodes.cpp ppcfpopcodes: add missing std:: prefixes. 2022-02-17 00:20:18 +01:00
ppcmmu.cpp Fix compiler warnings: cast loses precision. 2023-01-11 01:17:12 -08:00
ppcmmu.h Rework DBDMA logic for bidirectional channels. 2022-11-17 18:03:18 +01:00
ppcopcodes.cpp Fix compiler warnings: cast loses precision. 2023-01-11 01:17:12 -08:00