USB-lightgun: Fix C4305 warning.

This commit is contained in:
lightningterror 2022-12-23 02:36:33 +01:00
parent 29f0090417
commit bc7ffe4720
1 changed files with 27 additions and 27 deletions

View File

@ -65,33 +65,33 @@ namespace usb_lightgun
};
static constexpr const GameConfig s_game_config[] = {
{"SLES-50930", 90.25, 94.5, 390, 132, 640, 256}, // Dino Stalker (E, English)
{"SLES-51095", 90.25, 94.5, 390, 132, 640, 256}, // Dino Stalker (E, French)
{"SLES-51096", 90.25, 94.5, 390, 132, 640, 256}, // Dino Stalker (E, German)
{"SLUS-20485", 90.25, 92.5, 390, 132, 640, 240}, // Dino Stalker (U)
{"SLUS-20389", 89.25, 93.5, 422, 141, 640, 240}, // Endgame (U)
{"SLES-50936", 112.00, 100, 320, 120, 512, 256}, // Endgame (E) (Guncon2 needs to be connected to USB port 2)
{"SLES-52620", 89.5, 112.30, 390, 147, 640, 256}, // Guncom 2 (E)
{"SLES-51289", 84.5, 89.0, 456, 164, 640, 256}, // Gunfighter 2 - Jesse James (E)
{"SLPS-25165", 90.25, 98.0, 390, 138, 640, 240}, // Gunvari Collection (J) (480i)
// {"SLPS-25165", 86.75, 96.0, 454, 164, 640, 256}, // Gunvari Collection (J) (480p)
{"SCES-50889", 90.25, 94.5, 390, 169, 640, 256}, // Ninja Assault (E)
{"SLUS-20492", 90.25, 92.5, 390, 132, 640, 240}, // Ninja Assault (U)
{"SLES-50650", 84.75, 96.0, 454, 164, 640, 240}, // Resident Evil Survivor 2 (E)
{"SLES-51448", 90.25, 95.0, 420, 132, 640, 240}, // Resident Evil - Dead Aim (E)
{"SLUS-20669", 90.25, 93.5, 420, 132, 640, 240}, // Resident Evil - Dead Aim (U)
{"SLUS-20619", 90.25, 91.75, 453, 154, 640, 256}, // Starsky & Hutch (U)
{"SCES-50300", 90.25, 102.75, 390, 138, 640, 256}, // Time Crisis II (E)
{"SLUS-20219", 90.25, 97.5, 390, 154, 640, 240}, // Time Crisis 2 (U)
{"SCES-51844", 90.25, 102.75, 390, 138, 640, 256}, // Time Crisis 3 (E)
{"SLUS-20645", 90.25, 97.5, 390, 154, 640, 240}, // Time Crisis 3 (U)
{"SCES-52530", 90.25, 99.0, 390, 153, 640, 256}, // Crisis Zone (E)
{"SLUS-20927", 90.25, 99.0, 390, 153, 640, 240}, // Time Crisis - Crisis Zone (U) (480i)
// {"SLUS-20927", 94.5, 104.75, 423, 407, 768, 768}, // Time Crisis - Crisis Zone (U) (480p)
{"SCES-50411", 89.80, 99.90, 421, 138, 640, 256}, // Vampire Night (E)
{"SLUS-20221", 89.80, 102.50, 422, 124, 640, 228}, // Vampire Night (U)
{"SLES-51229", 110.15, 100.0, 433, 159, 512, 256}, // Virtua Cop - Elite Edition (E,J) (480i)
// {"SLES-51229", 85.75, 92.0, 456, 164, 640, 256}, // Virtua Cop - Elite Edition (E,J) (480p)
{"SLES-50930", 90.25f, 94.5f, 390, 132, 640, 256}, // Dino Stalker (E, English)
{"SLES-51095", 90.25f, 94.5f, 390, 132, 640, 256}, // Dino Stalker (E, French)
{"SLES-51096", 90.25f, 94.5f, 390, 132, 640, 256}, // Dino Stalker (E, German)
{"SLUS-20485", 90.25f, 92.5f, 390, 132, 640, 240}, // Dino Stalker (U)
{"SLUS-20389", 89.25f, 93.5f, 422, 141, 640, 240}, // Endgame (U)
{"SLES-50936", 112.0f, 100.0f, 320, 120, 512, 256}, // Endgame (E) (Guncon2 needs to be connected to USB port 2)
{"SLES-52620", 89.5f, 112.3f, 390, 147, 640, 256}, // Guncom 2 (E)
{"SLES-51289", 84.5f, 89.0f, 456, 164, 640, 256}, // Gunfighter 2 - Jesse James (E)
{"SLPS-25165", 90.25f, 98.0f, 390, 138, 640, 240}, // Gunvari Collection (J) (480i)
// {"SLPS-25165", 86.75f, 96.0f, 454, 164, 640, 256}, // Gunvari Collection (J) (480p)
{"SCES-50889", 90.25f, 94.5f, 390, 169, 640, 256}, // Ninja Assault (E)
{"SLUS-20492", 90.25f, 92.5f, 390, 132, 640, 240}, // Ninja Assault (U)
{"SLES-50650", 84.75f, 96.0f, 454, 164, 640, 240}, // Resident Evil Survivor 2 (E)
{"SLES-51448", 90.25f, 95.0f, 420, 132, 640, 240}, // Resident Evil - Dead Aim (E)
{"SLUS-20669", 90.25f, 93.5f, 420, 132, 640, 240}, // Resident Evil - Dead Aim (U)
{"SLUS-20619", 90.25f, 91.75f, 453, 154, 640, 256}, // Starsky & Hutch (U)
{"SCES-50300", 90.25f, 102.75f, 390, 138, 640, 256}, // Time Crisis II (E)
{"SLUS-20219", 90.25f, 97.5f, 390, 154, 640, 240}, // Time Crisis 2 (U)
{"SCES-51844", 90.25f, 102.75f, 390, 138, 640, 256}, // Time Crisis 3 (E)
{"SLUS-20645", 90.25f, 97.5f, 390, 154, 640, 240}, // Time Crisis 3 (U)
{"SCES-52530", 90.25f, 99.0f, 390, 153, 640, 256}, // Crisis Zone (E)
{"SLUS-20927", 90.25f, 99.0f, 390, 153, 640, 240}, // Time Crisis - Crisis Zone (U) (480i)
// {"SLUS-20927", 94.5f, 104.75f, 423, 407, 768, 768}, // Time Crisis - Crisis Zone (U) (480p)
{"SCES-50411", 89.8f, 99.9f, 421, 138, 640, 256}, // Vampire Night (E)
{"SLUS-20221", 89.8f, 102.5f, 422, 124, 640, 228}, // Vampire Night (U)
{"SLES-51229", 110.15f, 100.0f, 433, 159, 512, 256}, // Virtua Cop - Elite Edition (E,J) (480i)
// {"SLES-51229", 85.75f, 92.0f, 456, 164, 640, 256}, // Virtua Cop - Elite Edition (E,J) (480p)
};
static constexpr s32 DEFAULT_SCREEN_WIDTH = 640;