Windows compile fix for cms50

This commit is contained in:
Mark Watkins 2011-06-06 14:54:23 +10:00
parent 8aef7f710d
commit a433aba6b0
2 changed files with 2 additions and 2 deletions

View File

@ -8231,7 +8231,7 @@
<wx/datectrl.h>
<wx/dateevt.h>
1307335612 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadApp.cpp
1307335666 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadApp.cpp
"wx_pch.h"
<iostream>
<wx/log.h>

View File

@ -115,7 +115,7 @@ bool CMS50Loader::OpenSPORFile(wxString path,Machine *mach,Profile *profile)
wxString datestr;
for (int i=0;i<16;i+=2) {
datestr=datestr+tmp[i];
datestr=datestr+(char)tmp[i];
}
wxDateTime date;
date.ParseFormat(datestr,wxT("%m/%d/%y"));