Changeset 3097


Ignore:
Timestamp:
Mar 12, 2000, 10:33:25 PM (26 years ago)
Author:
mike
Message:

Minor fix for Heroes of M&M III

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/changelog

    r3096 r3097  
    1  /* $Id: changelog,v 1.801 2000-03-11 21:52:15 sandervl Exp $ */
     1 /* $Id: changelog,v 1.802 2000-03-12 21:33:22 mike Exp $ */
     2
     3 2000-03-12: Michal Necasek <mike@mendelu.cz>
     4        - dsound\new: Fixed sound in Heroes of M&M III
    25
    36 2000-03-11: Przemyslaw Dobrowolski <dobrawka@asua.org.pl>
    4         - OPENGL\GLIDE: Fix for Voodoo 1 glide (missing io ports)
     7        - OPENGL\GLIDE: Fix for Voodoo 1 glide (missing io ports)
    58
    69 2000-03-11: knut st. osmundsen <knut.stange.osmundse@pmsc.no>
     
    1114
    1215 2000-03-11: Sander van Leeuwen <sandervl@xs4all.nl>
    13         - OPENGL\GLUT: Fixed compile problems + cleanup
     16        - OPENGL\GLUT: Fixed compile problems + cleanup
    1417                       (use C(XX)FLAGS_WIN32APP so you don't have to
    1518                        explicitely specify which api type you use (ascii or unicode)!)
    1619
    17         - OPENGL\GLIDE: Fixed wrong binary path for voodoo1 glide
    18         - include\win\debugtools.h: Disable TRACE, WARN etc when DEBUG is not defined
     20        - OPENGL\GLIDE: Fixed wrong binary path for voodoo1 glide
     21        - include\win\debugtools.h: Disable TRACE, WARN etc when DEBUG is not defined
    1922
    2023 2000-03-11: Jeroen van den Horn <J.vandenHorn@fibre.a2000.nl>
  • trunk/src/dsound/new/OS2PrimBuff.cpp

    r3073 r3097  
    454454   OS2PrimBuff *me = (OS2PrimBuff *)This;
    455455
    456    if (me == NULL) {
    457       return DSERR_INVALIDPARAM;
     456   if (me == NULL || lpfxFormat == NULL) {
     457      return DSERR_INVALIDPARAM;
     458   }
     459
     460   /* Note: the software mixer doesn't really support mono output but */
     461   /*       we can safely mix in stereo anyway                        */
     462   if (lpfxFormat->nChannels == 1) {
     463      if (me->parentDS->GetCoopLevel() != DSSCL_WRITEPRIMARY)
     464         lpfxFormat->nChannels = 2;
    458465   }
    459466
Note: See TracChangeset for help on using the changeset viewer.