[Scummvm-cvs-logs] CVS: scummvm/morphos morphos.cpp,1.8,1.9 morphos.h,1.1,1.2

Ludvig Strigeus strigeus at users.sourceforge.net
Tue Apr 16 05:08:33 CEST 2002


Update of /cvsroot/scummvm/scummvm/morphos
In directory usw-pr-cvs1:/tmp/cvs-serv12090/morphos

Modified Files:
	morphos.cpp morphos.h 
Log Message:
endian fixes,
don't use adlib driver if sound initialization fails,
simon1 savedialog works


Index: morphos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/morphos/morphos.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** morphos.cpp	14 Apr 2002 19:43:12 -0000	1.8
--- morphos.cpp	16 Apr 2002 12:07:18 -0000	1.9
***************
*** 1563,1567 ****
  }
  
! void OSystem_MorphOS::set_sound_proc( void *param, OSystem::SoundProc *proc, byte format )
  {
  	static EmulFunc MySoundEmulFunc;
--- 1563,1567 ----
  }
  
! bool OSystem_MorphOS::set_sound_proc( void *param, OSystem::SoundProc *proc, byte format )
  {
  	static EmulFunc MySoundEmulFunc;
***************
*** 1588,1591 ****
--- 1588,1593 ----
  		exit( 1 );
  	}
+ 
+ 	return true;
  }
  

Index: morphos.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/morphos/morphos.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** morphos.h	14 Apr 2002 19:43:12 -0000	1.1
--- morphos.h	16 Apr 2002 12:07:18 -0000	1.2
***************
*** 73,77 ****
  
  		// Set the function to be invoked whenever samples need to be generated
! 		virtual void set_sound_proc(void *param, SoundProc *proc, byte format);
  				  void fill_sound    (byte * stream, int len);
  
--- 73,77 ----
  
  		// Set the function to be invoked whenever samples need to be generated
! 		virtual bool set_sound_proc(void *param, SoundProc *proc, byte format);
  				  void fill_sound    (byte * stream, int len);
  





More information about the Scummvm-git-logs mailing list