trunk/src/emu/drivenum.c
| r245697 | r245698 | |
| 131 | 131 | : m_current(-1), |
| 132 | 132 | m_filtered_count(0), |
| 133 | 133 | m_options(options), |
| 134 | | m_included(s_driver_count, 0), |
| 135 | | m_config(s_driver_count, NULL) |
| 134 | m_included(s_driver_count), |
| 135 | m_config(s_driver_count) |
| 136 | 136 | { |
| 137 | memset(&m_included, 0, s_driver_count); |
| 138 | memset(&m_config, 0, s_driver_count*sizeof(m_config[0])); |
| 137 | 139 | include_all(); |
| 138 | 140 | } |
| 139 | 141 | |
| r245697 | r245698 | |
| 142 | 144 | : m_current(-1), |
| 143 | 145 | m_filtered_count(0), |
| 144 | 146 | m_options(options), |
| 145 | | m_included(s_driver_count, 0), |
| 146 | | m_config(s_driver_count, NULL) |
| 147 | m_included(s_driver_count), |
| 148 | m_config(s_driver_count) |
| 147 | 149 | { |
| 150 | memset(&m_included, 0, s_driver_count); |
| 151 | memset(&m_config, 0, s_driver_count*sizeof(m_config[0])); |
| 148 | 152 | filter(string); |
| 149 | 153 | } |
| 150 | 154 | |
| r245697 | r245698 | |
| 153 | 157 | : m_current(-1), |
| 154 | 158 | m_filtered_count(0), |
| 155 | 159 | m_options(options), |
| 156 | | m_included(s_driver_count, 0), |
| 157 | | m_config(s_driver_count, NULL) |
| 160 | m_included(s_driver_count), |
| 161 | m_config(s_driver_count) |
| 158 | 162 | { |
| 163 | memset(&m_included, 0, s_driver_count); |
| 164 | memset(&m_config, 0, s_driver_count*sizeof(m_config[0])); |
| 159 | 165 | filter(driver); |
| 160 | 166 | } |
| 161 | 167 | |