dingusppc/machines
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
..
CMakeLists.txt Manage Windows build dependencies with vcpkg. 2023-01-08 22:27:13 +01:00
machinebase.cpp Refactor MachineBase and MachineFactory classes. 2022-07-18 20:27:34 +02:00
machinebase.h Refactor MachineBase and MachineFactory classes. 2022-07-18 20:27:34 +02:00
machinecatalyst.cpp Log something from machine initialization. 2023-01-11 01:17:12 -08:00
machinefactory.cpp Fix compiler warnings: cast loses precision. 2023-01-11 01:17:12 -08:00
machinefactory.h Refactor MachineBase and MachineFactory classes. 2022-07-18 20:27:34 +02:00
machinegazelle.cpp Log something from machine initialization. 2023-01-11 01:17:12 -08:00
machinegossamer.cpp Log something from machine initialization. 2023-01-11 01:17:12 -08:00
machinepdm.cpp Log something from machine initialization. 2023-01-11 01:17:12 -08:00
machineproperties.cpp Fix compiler warnings: cast loses precision. 2023-01-11 01:17:12 -08:00
machineproperties.h New property type: BinProperty. 2022-07-19 23:45:41 +02:00
machinetnt.cpp Log something from machine initialization. 2023-01-11 01:17:12 -08:00