mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 03:30:44 +00:00
Windows compile fix for cms50
This commit is contained in:
parent
8aef7f710d
commit
a433aba6b0
@ -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>
|
||||
|
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user