mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-12 00:30:46 +00:00
Windows compile fix for cms50
This commit is contained in:
parent
8aef7f710d
commit
a433aba6b0
@ -8231,7 +8231,7 @@
|
|||||||
<wx/datectrl.h>
|
<wx/datectrl.h>
|
||||||
<wx/dateevt.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"
|
"wx_pch.h"
|
||||||
<iostream>
|
<iostream>
|
||||||
<wx/log.h>
|
<wx/log.h>
|
||||||
|
@ -115,7 +115,7 @@ bool CMS50Loader::OpenSPORFile(wxString path,Machine *mach,Profile *profile)
|
|||||||
|
|
||||||
wxString datestr;
|
wxString datestr;
|
||||||
for (int i=0;i<16;i+=2) {
|
for (int i=0;i<16;i+=2) {
|
||||||
datestr=datestr+tmp[i];
|
datestr=datestr+(char)tmp[i];
|
||||||
}
|
}
|
||||||
wxDateTime date;
|
wxDateTime date;
|
||||||
date.ParseFormat(datestr,wxT("%m/%d/%y"));
|
date.ParseFormat(datestr,wxT("%m/%d/%y"));
|
||||||
|
Loading…
Reference in New Issue
Block a user