forgot return statement
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2032
This commit is contained in:
parent
bced25b890
commit
8dbbd230da
2 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: dos_system.h,v 1.25 2004-10-17 14:44:59 qbix79 Exp $ */
|
||||
/* $Id: dos_system.h,v 1.26 2004-10-20 12:27:18 qbix79 Exp $ */
|
||||
|
||||
#ifndef DOSSYSTEM_H_
|
||||
#define DOSSYSTEM_H_
|
||||
|
@ -87,6 +87,7 @@ public:
|
|||
DOS_Device & operator= (const DOS_Device & orig) {
|
||||
DOS_File::operator=(orig);
|
||||
devnum=orig.devnum;
|
||||
return *this;
|
||||
}
|
||||
DOS_Device():DOS_File(),devnum(0){};
|
||||
virtual bool Read(Bit8u * data,Bit16u * size);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: dos_devices.cpp,v 1.6 2004-10-17 14:45:00 qbix79 Exp $ */
|
||||
/* $Id: dos_devices.cpp,v 1.7 2004-10-20 12:27:19 qbix79 Exp $ */
|
||||
|
||||
#include <string.h>
|
||||
#include "dosbox.h"
|
||||
|
@ -106,6 +106,7 @@ DOS_File & DOS_File::operator= (const DOS_File & orig) {
|
|||
if(orig.name) {
|
||||
name=new char [strlen(orig.name)];strcpy(name,orig.name);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
Bit8u DOS_FindDevice(char * name) {
|
||||
|
|
Loading…
Add table
Reference in a new issue