Previous 199869 Revisions Next

r29226 Thursday 3rd April, 2014 at 20:16:50 UTC by Oliver Stöneberg
disabled some Visual Studio analysis warnings / fixed some obvious errors based on analysis output (-video gdi works again) (nw)
[src/mess/drivers]ql.c
[src/mess/machine]swtpc09.c
[src/osd/windows]drawgdi.c windows.mak

trunk/src/osd/windows/windows.mak
r29225r29226
166166endif
167167
168168ifdef MSVC_ANALYSIS
169CCOMFLAGS += /analyze /wd6011 /wd6328 /wd6204 /wd6244 /wd6385 /wd6308 /wd6246 /wd6031 /wd6326 /analyze:stacksize384112
169CCOMFLAGS += /analyze /wd6011 /wd6328 /wd6204 /wd6244 /wd6385 /wd6308 /wd6246 /wd6031 /wd6326 /wd6255 /wd6330 /wd28251 /wd6054 /wd6340 /wd28125 /wd6053 /wd6001 /wd6386 /wd28278 /wd6387 /wd6297 /wd28183 /wd28159 /wd28182 /analyze:stacksize384112
170170endif
171171
172172# enable exception handling for C++
trunk/src/osd/windows/drawgdi.c
r29225r29226
8282static int drawgdi_window_init(win_window_info *window)
8383{
8484   gdi_info *gdi;
85   UINT8 i;
85   int i;
8686
8787   // allocate memory for our structures
8888   gdi = global_alloc_clear(gdi_info);
trunk/src/mess/drivers/ql.c
r29225r29226
369369      m_fdc->set_drive(1);
370370
371371   m_fdc->set_side((data & SANDY_SIDE_MASK) >> SANDY_SIDE_SHIFT);
372   if ((data & SANDY_SIDE_MASK) & (LOG_DISK_READ | LOG_DISK_WRITE))
372   if ((data & SANDY_SIDE_MASK) && (LOG_DISK_READ | LOG_DISK_WRITE))
373373   {
374374      logerror("Accessing side 1\n");
375375   }
trunk/src/mess/machine/swtpc09.c
r29225r29226
4141
4242   m_pia_counter++;
4343   //pia_counter = pia_counter && 0xff;
44    if (m_pia_counter && 0x80) pia->ca1_w(1);
44    if (m_pia_counter & 0x80) pia->ca1_w(1);
4545}
4646
4747WRITE8_MEMBER( swtpc09_state::ptm_o3_callback )
r29225r29226
720720
721721         /* a read here clears the DMA end flag */
722722         m_m6844_channel[offset - 0x10].control &= ~0x80;
723            if (m_m6844_interrupt && 0x80) // if interrupt is active, then clear
723            if (m_m6844_interrupt & 0x80) // if interrupt is active, then clear
724724            {
725725                swtpc09_irq_handler(0x01, CLEAR_LINE);
726726             m_m6844_interrupt &= 0x7f;  // clear interrupt indication bit 7

Previous 199869 Revisions Next


© 1997-2024 The MAME Team