clean up device_config_t formatting
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
/*
|
||||
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
||||
* running old operating systems and software designed for IBM
|
||||
* PC systems and compatibles from 1981 through fairly recent
|
||||
* system designs based on the PCI bus.
|
||||
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
||||
* running old operating systems and software designed for IBM
|
||||
* PC systems and compatibles from 1981 through fairly recent
|
||||
* system designs based on the PCI bus.
|
||||
*
|
||||
* This file is part of the 86Box distribution.
|
||||
* This file is part of the 86Box distribution.
|
||||
*
|
||||
* Define all known video cards.
|
||||
* Define all known video cards.
|
||||
*
|
||||
*
|
||||
*
|
||||
* Authors: Miran Grca, <mgrca8@gmail.com>
|
||||
* Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
* Authors: Miran Grca, <mgrca8@gmail.com>
|
||||
* Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
*
|
||||
* Copyright 2016-2020 Miran Grca.
|
||||
* Copyright 2017-2020 Fred N. van Kempen.
|
||||
* Copyright 2016-2020 Miran Grca.
|
||||
* Copyright 2017-2020 Fred N. van Kempen.
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
|
||||
typedef struct {
|
||||
const device_t *device;
|
||||
const device_t *device;
|
||||
} VIDEO_CARD;
|
||||
|
||||
|
||||
@@ -51,193 +51,204 @@ static int was_reset = 0;
|
||||
static const device_t vid_none_device = {
|
||||
"None",
|
||||
"none",
|
||||
0, 0,
|
||||
NULL, NULL, NULL,
|
||||
{ NULL }, NULL, NULL,
|
||||
0,
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
{ NULL },
|
||||
NULL,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
static const device_t vid_internal_device = {
|
||||
"Internal",
|
||||
"internal",
|
||||
0, 0,
|
||||
NULL, NULL, NULL,
|
||||
{ NULL }, NULL, NULL,
|
||||
0,
|
||||
0,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
{ NULL },
|
||||
NULL,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
static const VIDEO_CARD
|
||||
video_cards[] = {
|
||||
{ &vid_none_device },
|
||||
{ &vid_internal_device },
|
||||
{ &atiega_device },
|
||||
{ &mach64gx_isa_device },
|
||||
{ &ati28800k_device },
|
||||
{ &ati18800_vga88_device },
|
||||
{ &ati28800_device },
|
||||
{ &compaq_ati28800_device },
|
||||
// clang-format off
|
||||
{ &vid_none_device },
|
||||
{ &vid_internal_device },
|
||||
{ &atiega_device },
|
||||
{ &mach64gx_isa_device },
|
||||
{ &ati28800k_device },
|
||||
{ &ati18800_vga88_device },
|
||||
{ &ati28800_device },
|
||||
{ &compaq_ati28800_device },
|
||||
#if defined(DEV_BRANCH) && defined(USE_XL24)
|
||||
{ &ati28800_wonderxl24_device },
|
||||
{ &ati28800_wonderxl24_device },
|
||||
#endif
|
||||
{ &ati18800_device },
|
||||
{ &ati18800_device },
|
||||
#if defined(DEV_BRANCH) && defined(USE_VGAWONDER)
|
||||
{ &ati18800_wonder_device },
|
||||
{ &ati18800_wonder_device },
|
||||
#endif
|
||||
{ &cga_device },
|
||||
{ &sega_device },
|
||||
{ &gd5401_isa_device },
|
||||
{ &gd5402_isa_device },
|
||||
{ &gd5420_isa_device },
|
||||
{ &gd5422_isa_device },
|
||||
{ &gd5426_isa_device },
|
||||
{ &gd5426_diamond_speedstar_pro_a1_isa_device },
|
||||
{ &gd5428_isa_device },
|
||||
{ &gd5429_isa_device },
|
||||
{ &gd5434_isa_device },
|
||||
{ &gd5434_diamond_speedstar_64_a3_isa_device },
|
||||
{ &compaq_cga_device },
|
||||
{ &compaq_cga_2_device },
|
||||
{ &cpqega_device },
|
||||
{ &ega_device },
|
||||
{ &g2_gc205_device },
|
||||
{ &hercules_device },
|
||||
{ &herculesplus_device },
|
||||
{ &incolor_device },
|
||||
{ &im1024_device },
|
||||
{ &iskra_ega_device },
|
||||
{ &et4000_kasan_isa_device },
|
||||
{ &mda_device },
|
||||
{ &genius_device },
|
||||
{ &nga_device },
|
||||
{ &ogc_device },
|
||||
{ &oti037c_device },
|
||||
{ &oti067_device },
|
||||
{ &oti077_device },
|
||||
{ ¶dise_pvga1a_device },
|
||||
{ ¶dise_wd90c11_device },
|
||||
{ ¶dise_wd90c30_device },
|
||||
{ &colorplus_device },
|
||||
{ &pgc_device },
|
||||
{ &radius_svga_multiview_isa_device },
|
||||
{ &realtek_rtg3106_device },
|
||||
{ &s3_diamond_stealth_vram_isa_device },
|
||||
{ &s3_orchid_86c911_isa_device },
|
||||
{ &s3_ami_86c924_isa_device },
|
||||
{ &s3_metheus_86c928_isa_device },
|
||||
{ &s3_phoenix_86c801_isa_device },
|
||||
{ &s3_spea_mirage_86c801_isa_device },
|
||||
{ &sigma_device },
|
||||
{ &tvga8900b_device },
|
||||
{ &tvga8900d_device },
|
||||
{ &tvga9000b_device },
|
||||
{ &et4000k_isa_device },
|
||||
{ &et2000_device },
|
||||
{ &et4000_isa_device },
|
||||
{ &et4000w32_device },
|
||||
{ &et4000w32i_isa_device },
|
||||
{ &vga_device },
|
||||
{ &v7_vga_1024i_device },
|
||||
{ &wy700_device },
|
||||
{ &gd5428_mca_device },
|
||||
{ &et4000_mca_device },
|
||||
{ &radius_svga_multiview_mca_device },
|
||||
{ &mach64gx_pci_device },
|
||||
{ &mach64vt2_device },
|
||||
{ &et4000w32p_videomagic_revb_pci_device },
|
||||
{ &et4000w32p_revc_pci_device },
|
||||
{ &et4000w32p_cardex_pci_device },
|
||||
{ &et4000w32p_noncardex_pci_device },
|
||||
{ &et4000w32p_pci_device },
|
||||
{ &gd5430_pci_device, },
|
||||
{ &gd5434_pci_device },
|
||||
{ &gd5436_pci_device },
|
||||
{ &gd5440_pci_device },
|
||||
{ &gd5446_pci_device },
|
||||
{ &gd5446_stb_pci_device },
|
||||
{ &gd5480_pci_device },
|
||||
{ &s3_spea_mercury_lite_86c928_pci_device },
|
||||
{ &s3_diamond_stealth64_964_pci_device },
|
||||
{ &s3_elsa_winner2000_pro_x_964_pci_device },
|
||||
{ &s3_mirocrystal_20sv_964_pci_device },
|
||||
{ &s3_bahamas64_pci_device },
|
||||
{ &s3_phoenix_vision864_pci_device },
|
||||
{ &s3_diamond_stealth_se_pci_device },
|
||||
{ &s3_phoenix_trio32_pci_device },
|
||||
{ &s3_diamond_stealth64_pci_device },
|
||||
{ &s3_9fx_pci_device },
|
||||
{ &s3_phoenix_trio64_pci_device },
|
||||
{ &s3_elsa_winner2000_pro_x_pci_device },
|
||||
{ &s3_mirovideo_40sv_ergo_968_pci_device },
|
||||
{ &s3_9fx_771_pci_device },
|
||||
{ &s3_phoenix_vision968_pci_device },
|
||||
{ &s3_spea_mercury_p64v_pci_device },
|
||||
{ &s3_9fx_531_pci_device },
|
||||
{ &s3_phoenix_vision868_pci_device },
|
||||
{ &s3_phoenix_trio64vplus_pci_device },
|
||||
{ &s3_trio64v2_dx_pci_device },
|
||||
{ &s3_virge_325_pci_device },
|
||||
{ &s3_diamond_stealth_2000_pci_device },
|
||||
{ &s3_diamond_stealth_3000_pci_device },
|
||||
{ &s3_stb_velocity_3d_pci_device },
|
||||
{ &s3_virge_375_pci_device },
|
||||
{ &s3_diamond_stealth_2000pro_pci_device },
|
||||
{ &s3_virge_385_pci_device },
|
||||
{ &s3_virge_357_pci_device },
|
||||
{ &s3_diamond_stealth_4000_pci_device },
|
||||
{ &s3_trio3d2x_pci_device },
|
||||
{ &cga_device },
|
||||
{ &sega_device },
|
||||
{ &gd5401_isa_device },
|
||||
{ &gd5402_isa_device },
|
||||
{ &gd5420_isa_device },
|
||||
{ &gd5422_isa_device },
|
||||
{ &gd5426_isa_device },
|
||||
{ &gd5426_diamond_speedstar_pro_a1_isa_device },
|
||||
{ &gd5428_isa_device },
|
||||
{ &gd5429_isa_device },
|
||||
{ &gd5434_isa_device },
|
||||
{ &gd5434_diamond_speedstar_64_a3_isa_device },
|
||||
{ &compaq_cga_device },
|
||||
{ &compaq_cga_2_device },
|
||||
{ &cpqega_device },
|
||||
{ &ega_device },
|
||||
{ &g2_gc205_device },
|
||||
{ &hercules_device },
|
||||
{ &herculesplus_device },
|
||||
{ &incolor_device },
|
||||
{ &im1024_device },
|
||||
{ &iskra_ega_device },
|
||||
{ &et4000_kasan_isa_device },
|
||||
{ &mda_device },
|
||||
{ &genius_device },
|
||||
{ &nga_device },
|
||||
{ &ogc_device },
|
||||
{ &oti037c_device },
|
||||
{ &oti067_device },
|
||||
{ &oti077_device },
|
||||
{ ¶dise_pvga1a_device },
|
||||
{ ¶dise_wd90c11_device },
|
||||
{ ¶dise_wd90c30_device },
|
||||
{ &colorplus_device },
|
||||
{ &pgc_device },
|
||||
{ &radius_svga_multiview_isa_device },
|
||||
{ &realtek_rtg3106_device },
|
||||
{ &s3_diamond_stealth_vram_isa_device },
|
||||
{ &s3_orchid_86c911_isa_device },
|
||||
{ &s3_ami_86c924_isa_device },
|
||||
{ &s3_metheus_86c928_isa_device },
|
||||
{ &s3_phoenix_86c801_isa_device },
|
||||
{ &s3_spea_mirage_86c801_isa_device },
|
||||
{ &sigma_device },
|
||||
{ &tvga8900b_device },
|
||||
{ &tvga8900d_device },
|
||||
{ &tvga9000b_device },
|
||||
{ &et4000k_isa_device },
|
||||
{ &et2000_device },
|
||||
{ &et4000_isa_device },
|
||||
{ &et4000w32_device },
|
||||
{ &et4000w32i_isa_device },
|
||||
{ &vga_device },
|
||||
{ &v7_vga_1024i_device },
|
||||
{ &wy700_device },
|
||||
{ &gd5428_mca_device },
|
||||
{ &et4000_mca_device },
|
||||
{ &radius_svga_multiview_mca_device },
|
||||
{ &mach64gx_pci_device },
|
||||
{ &mach64vt2_device },
|
||||
{ &et4000w32p_videomagic_revb_pci_device },
|
||||
{ &et4000w32p_revc_pci_device },
|
||||
{ &et4000w32p_cardex_pci_device },
|
||||
{ &et4000w32p_noncardex_pci_device },
|
||||
{ &et4000w32p_pci_device },
|
||||
{ &gd5430_pci_device, },
|
||||
{ &gd5434_pci_device },
|
||||
{ &gd5436_pci_device },
|
||||
{ &gd5440_pci_device },
|
||||
{ &gd5446_pci_device },
|
||||
{ &gd5446_stb_pci_device },
|
||||
{ &gd5480_pci_device },
|
||||
{ &s3_spea_mercury_lite_86c928_pci_device },
|
||||
{ &s3_diamond_stealth64_964_pci_device },
|
||||
{ &s3_elsa_winner2000_pro_x_964_pci_device },
|
||||
{ &s3_mirocrystal_20sv_964_pci_device },
|
||||
{ &s3_bahamas64_pci_device },
|
||||
{ &s3_phoenix_vision864_pci_device },
|
||||
{ &s3_diamond_stealth_se_pci_device },
|
||||
{ &s3_phoenix_trio32_pci_device },
|
||||
{ &s3_diamond_stealth64_pci_device },
|
||||
{ &s3_9fx_pci_device },
|
||||
{ &s3_phoenix_trio64_pci_device },
|
||||
{ &s3_elsa_winner2000_pro_x_pci_device },
|
||||
{ &s3_mirovideo_40sv_ergo_968_pci_device },
|
||||
{ &s3_9fx_771_pci_device },
|
||||
{ &s3_phoenix_vision968_pci_device },
|
||||
{ &s3_spea_mercury_p64v_pci_device },
|
||||
{ &s3_9fx_531_pci_device },
|
||||
{ &s3_phoenix_vision868_pci_device },
|
||||
{ &s3_phoenix_trio64vplus_pci_device },
|
||||
{ &s3_trio64v2_dx_pci_device },
|
||||
{ &s3_virge_325_pci_device },
|
||||
{ &s3_diamond_stealth_2000_pci_device },
|
||||
{ &s3_diamond_stealth_3000_pci_device },
|
||||
{ &s3_stb_velocity_3d_pci_device },
|
||||
{ &s3_virge_375_pci_device },
|
||||
{ &s3_diamond_stealth_2000pro_pci_device },
|
||||
{ &s3_virge_385_pci_device },
|
||||
{ &s3_virge_357_pci_device },
|
||||
{ &s3_diamond_stealth_4000_pci_device },
|
||||
{ &s3_trio3d2x_pci_device },
|
||||
#if defined(DEV_BRANCH) && defined(USE_MGA)
|
||||
{ &millennium_device },
|
||||
{ &mystique_device },
|
||||
{ &mystique_220_device },
|
||||
{ &millennium_device },
|
||||
{ &mystique_device },
|
||||
{ &mystique_220_device },
|
||||
#endif
|
||||
{ &tgui9440_pci_device },
|
||||
{ &tgui9660_pci_device },
|
||||
{ &tgui9680_pci_device },
|
||||
{ &voodoo_banshee_device },
|
||||
{ &creative_voodoo_banshee_device },
|
||||
{ &voodoo_3_2000_device },
|
||||
{ &voodoo_3_3000_device },
|
||||
{ &mach64gx_vlb_device },
|
||||
{ &et4000w32i_vlb_device },
|
||||
{ &et4000w32p_videomagic_revb_vlb_device },
|
||||
{ &et4000w32p_revc_vlb_device },
|
||||
{ &et4000w32p_cardex_vlb_device },
|
||||
{ &et4000w32p_vlb_device },
|
||||
{ &et4000w32p_noncardex_vlb_device },
|
||||
{ &gd5424_vlb_device },
|
||||
{ &gd5426_vlb_device },
|
||||
{ &gd5428_vlb_device },
|
||||
{ &gd5428_diamond_speedstar_pro_b1_vlb_device },
|
||||
{ &gd5429_vlb_device },
|
||||
{ &gd5430_diamond_speedstar_pro_se_a8_vlb_device },
|
||||
{ &gd5434_vlb_device },
|
||||
{ &s3_metheus_86c928_vlb_device },
|
||||
{ &s3_mirocrystal_8s_805_vlb_device },
|
||||
{ &s3_mirocrystal_10sd_805_vlb_device },
|
||||
{ &s3_phoenix_86c805_vlb_device },
|
||||
{ &s3_spea_mirage_86c805_vlb_device },
|
||||
{ &s3_diamond_stealth64_964_vlb_device },
|
||||
{ &s3_mirocrystal_20sv_964_vlb_device },
|
||||
{ &s3_mirocrystal_20sd_864_vlb_device },
|
||||
{ &s3_bahamas64_vlb_device },
|
||||
{ &s3_phoenix_vision864_vlb_device },
|
||||
{ &s3_diamond_stealth_se_vlb_device },
|
||||
{ &s3_phoenix_trio32_vlb_device },
|
||||
{ &s3_diamond_stealth64_vlb_device },
|
||||
{ &s3_9fx_vlb_device },
|
||||
{ &s3_phoenix_trio64_vlb_device },
|
||||
{ &s3_spea_mirage_p64_vlb_device },
|
||||
{ &s3_phoenix_vision968_vlb_device },
|
||||
{ &s3_phoenix_vision868_vlb_device },
|
||||
{ &ht216_32_standalone_device },
|
||||
{ &tgui9400cxi_device },
|
||||
{ &tgui9440_vlb_device },
|
||||
{ &s3_virge_357_agp_device },
|
||||
{ &s3_diamond_stealth_4000_agp_device },
|
||||
{ &s3_trio3d2x_agp_device },
|
||||
{ &velocity_100_agp_device },
|
||||
{ &voodoo_3_2000_agp_device },
|
||||
{ &voodoo_3_3000_agp_device },
|
||||
{ NULL }
|
||||
{ &tgui9440_pci_device },
|
||||
{ &tgui9660_pci_device },
|
||||
{ &tgui9680_pci_device },
|
||||
{ &voodoo_banshee_device },
|
||||
{ &creative_voodoo_banshee_device },
|
||||
{ &voodoo_3_2000_device },
|
||||
{ &voodoo_3_3000_device },
|
||||
{ &mach64gx_vlb_device },
|
||||
{ &et4000w32i_vlb_device },
|
||||
{ &et4000w32p_videomagic_revb_vlb_device },
|
||||
{ &et4000w32p_revc_vlb_device },
|
||||
{ &et4000w32p_cardex_vlb_device },
|
||||
{ &et4000w32p_vlb_device },
|
||||
{ &et4000w32p_noncardex_vlb_device },
|
||||
{ &gd5424_vlb_device },
|
||||
{ &gd5426_vlb_device },
|
||||
{ &gd5428_vlb_device },
|
||||
{ &gd5428_diamond_speedstar_pro_b1_vlb_device },
|
||||
{ &gd5429_vlb_device },
|
||||
{ &gd5430_diamond_speedstar_pro_se_a8_vlb_device },
|
||||
{ &gd5434_vlb_device },
|
||||
{ &s3_metheus_86c928_vlb_device },
|
||||
{ &s3_mirocrystal_8s_805_vlb_device },
|
||||
{ &s3_mirocrystal_10sd_805_vlb_device },
|
||||
{ &s3_phoenix_86c805_vlb_device },
|
||||
{ &s3_spea_mirage_86c805_vlb_device },
|
||||
{ &s3_diamond_stealth64_964_vlb_device },
|
||||
{ &s3_mirocrystal_20sv_964_vlb_device },
|
||||
{ &s3_mirocrystal_20sd_864_vlb_device },
|
||||
{ &s3_bahamas64_vlb_device },
|
||||
{ &s3_phoenix_vision864_vlb_device },
|
||||
{ &s3_diamond_stealth_se_vlb_device },
|
||||
{ &s3_phoenix_trio32_vlb_device },
|
||||
{ &s3_diamond_stealth64_vlb_device },
|
||||
{ &s3_9fx_vlb_device },
|
||||
{ &s3_phoenix_trio64_vlb_device },
|
||||
{ &s3_spea_mirage_p64_vlb_device },
|
||||
{ &s3_phoenix_vision968_vlb_device },
|
||||
{ &s3_phoenix_vision868_vlb_device },
|
||||
{ &ht216_32_standalone_device },
|
||||
{ &tgui9400cxi_device },
|
||||
{ &tgui9440_vlb_device },
|
||||
{ &s3_virge_357_agp_device },
|
||||
{ &s3_diamond_stealth_4000_agp_device },
|
||||
{ &s3_trio3d2x_agp_device },
|
||||
{ &velocity_100_agp_device },
|
||||
{ &voodoo_3_2000_agp_device },
|
||||
{ &voodoo_3_3000_agp_device },
|
||||
{ NULL }
|
||||
// clang-format off
|
||||
};
|
||||
|
||||
|
||||
@@ -251,9 +262,9 @@ vid_table_log(const char *fmt, ...)
|
||||
va_list ap;
|
||||
|
||||
if (vid_table_do_log) {
|
||||
va_start(ap, fmt);
|
||||
pclog_ex(fmt, ap);
|
||||
va_end(ap);
|
||||
va_start(ap, fmt);
|
||||
pclog_ex(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
}
|
||||
#else
|
||||
@@ -274,8 +285,8 @@ video_prepare(void)
|
||||
{
|
||||
/* Reset (deallocate) the video font arrays. */
|
||||
if (fontdatksc5601) {
|
||||
free(fontdatksc5601);
|
||||
fontdatksc5601 = NULL;
|
||||
free(fontdatksc5601);
|
||||
fontdatksc5601 = NULL;
|
||||
}
|
||||
|
||||
/* Reset the CGA palette. */
|
||||
@@ -295,8 +306,8 @@ void
|
||||
video_pre_reset(int card)
|
||||
{
|
||||
if ((card == VID_NONE) || \
|
||||
(card == VID_INTERNAL) || machine_has_flags(machine, MACHINE_VIDEO_ONLY))
|
||||
video_prepare();
|
||||
(card == VID_INTERNAL) || machine_has_flags(machine, MACHINE_VIDEO_ONLY))
|
||||
video_prepare();
|
||||
}
|
||||
|
||||
|
||||
@@ -305,27 +316,27 @@ video_reset(int card)
|
||||
{
|
||||
/* This is needed to avoid duplicate resets. */
|
||||
if ((video_get_type() != VIDEO_FLAG_TYPE_NONE) && was_reset)
|
||||
return;
|
||||
return;
|
||||
|
||||
vid_table_log("VIDEO: reset (gfxcard=%d, internal=%d)\n",
|
||||
card, machine_has_flags(machine, MACHINE_VIDEO) ? 1 : 0);
|
||||
card, machine_has_flags(machine, MACHINE_VIDEO) ? 1 : 0);
|
||||
|
||||
loadfont("roms/video/mda/mda.rom", 0);
|
||||
|
||||
/* Do not initialize internal cards here. */
|
||||
if (!(card == VID_NONE) && \
|
||||
!(card == VID_INTERNAL) && !machine_has_flags(machine, MACHINE_VIDEO_ONLY)) {
|
||||
vid_table_log("VIDEO: initializing '%s'\n", video_cards[card].name);
|
||||
!(card == VID_INTERNAL) && !machine_has_flags(machine, MACHINE_VIDEO_ONLY)) {
|
||||
vid_table_log("VIDEO: initializing '%s'\n", video_cards[card].name);
|
||||
|
||||
video_prepare();
|
||||
video_prepare();
|
||||
|
||||
/* Initialize the video card. */
|
||||
device_add(video_cards[card].device);
|
||||
/* Initialize the video card. */
|
||||
device_add(video_cards[card].device);
|
||||
}
|
||||
|
||||
/* Enable the Voodoo if configured. */
|
||||
if (voodoo_enabled)
|
||||
device_add(&voodoo_device);
|
||||
device_add(&voodoo_device);
|
||||
|
||||
was_reset = 1;
|
||||
}
|
||||
@@ -335,7 +346,7 @@ int
|
||||
video_card_available(int card)
|
||||
{
|
||||
if (video_cards[card].device)
|
||||
return(device_available(video_cards[card].device));
|
||||
return(device_available(video_cards[card].device));
|
||||
|
||||
return(1);
|
||||
}
|
||||
@@ -370,9 +381,9 @@ video_get_video_from_internal_name(char *s)
|
||||
int c = 0;
|
||||
|
||||
while (video_cards[c].device != NULL) {
|
||||
if (!strcmp((char *) video_cards[c].device->internal_name, s))
|
||||
return(c);
|
||||
c++;
|
||||
if (!strcmp((char *) video_cards[c].device->internal_name, s))
|
||||
return(c);
|
||||
c++;
|
||||
}
|
||||
|
||||
return(0);
|
||||
|
||||
Reference in New Issue
Block a user