mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-26 15:40:44 +00:00
CMS50 16bit char cleanup
This commit is contained in:
parent
475357a859
commit
fed080430d
@ -8201,12 +8201,12 @@
|
|||||||
"wx/treebase.h"
|
"wx/treebase.h"
|
||||||
"wx/hashmap.h"
|
"wx/hashmap.h"
|
||||||
|
|
||||||
1307332633 source:/home/mark/projects/git/sleepyhead/src/GUIFrame.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/GUIFrame.cpp
|
||||||
"wx/wxprec.h"
|
"wx/wxprec.h"
|
||||||
<wx/wx.h>
|
<wx/wx.h>
|
||||||
"GUIFrame.h"
|
"GUIFrame.h"
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/GUIFrame.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/GUIFrame.h
|
||||||
<wx/intl.h>
|
<wx/intl.h>
|
||||||
<wx/string.h>
|
<wx/string.h>
|
||||||
<wx/bitmap.h>
|
<wx/bitmap.h>
|
||||||
@ -8231,7 +8231,7 @@
|
|||||||
<wx/datectrl.h>
|
<wx/datectrl.h>
|
||||||
<wx/dateevt.h>
|
<wx/dateevt.h>
|
||||||
|
|
||||||
1307335666 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadApp.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadApp.cpp
|
||||||
"wx_pch.h"
|
"wx_pch.h"
|
||||||
<iostream>
|
<iostream>
|
||||||
<wx/log.h>
|
<wx/log.h>
|
||||||
@ -8246,10 +8246,10 @@
|
|||||||
"sleeplib/loader_plugins/zeo_loader.h"
|
"sleeplib/loader_plugins/zeo_loader.h"
|
||||||
"sleeplib/profiles.h"
|
"sleeplib/profiles.h"
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/SleepyHeadApp.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/SleepyHeadApp.h
|
||||||
<wx/app.h>
|
<wx/app.h>
|
||||||
|
|
||||||
1307291151 /home/mark/projects/git/sleepyhead/src/SleepyHeadMain.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/SleepyHeadMain.h
|
||||||
<wx/listbox.h>
|
<wx/listbox.h>
|
||||||
<wx/treectrl.h>
|
<wx/treectrl.h>
|
||||||
"SleepyHeadApp.h"
|
"SleepyHeadApp.h"
|
||||||
@ -8257,7 +8257,7 @@
|
|||||||
"sleeplib/machine.h"
|
"sleeplib/machine.h"
|
||||||
"graphs/graph.h"
|
"graphs/graph.h"
|
||||||
|
|
||||||
1307289735 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/machine.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/machine.h
|
||||||
<wx/string.h>
|
<wx/string.h>
|
||||||
<wx/variant.h>
|
<wx/variant.h>
|
||||||
<wx/dir.h>
|
<wx/dir.h>
|
||||||
@ -8270,7 +8270,7 @@
|
|||||||
"tinyxml/tinyxml.h"
|
"tinyxml/tinyxml.h"
|
||||||
"preferences.h"
|
"preferences.h"
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinyxml.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinyxml.h
|
||||||
<ctype.h>
|
<ctype.h>
|
||||||
<stdio.h>
|
<stdio.h>
|
||||||
<stdlib.h>
|
<stdlib.h>
|
||||||
@ -8281,38 +8281,38 @@
|
|||||||
<sstream>
|
<sstream>
|
||||||
"tinystr.h"
|
"tinystr.h"
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinystr.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinystr.h
|
||||||
<assert.h>
|
<assert.h>
|
||||||
<string.h>
|
<string.h>
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/preferences.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/preferences.h
|
||||||
<wx/string.h>
|
<wx/string.h>
|
||||||
<wx/variant.h>
|
<wx/variant.h>
|
||||||
<map>
|
<map>
|
||||||
"tinyxml/tinyxml.h"
|
"tinyxml/tinyxml.h"
|
||||||
|
|
||||||
1307354721 /home/mark/projects/git/sleepyhead/src/graphs/graph.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/graphs/graph.h
|
||||||
<sleeplib/machine.h>
|
<sleeplib/machine.h>
|
||||||
<list>
|
<list>
|
||||||
|
|
||||||
1307354721 /home/mark/projects/git/sleepyhead/src/version.h
|
1307369887 /home/mark/projects/git/sleepyhead/src/version.h
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h
|
||||||
"machine.h"
|
"machine.h"
|
||||||
"machine_loader.h"
|
"machine_loader.h"
|
||||||
"profiles.h"
|
"profiles.h"
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/machine_loader.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/machine_loader.h
|
||||||
"profiles.h"
|
"profiles.h"
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/profiles.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/profiles.h
|
||||||
<wx/string.h>
|
<wx/string.h>
|
||||||
<map>
|
<map>
|
||||||
"machine.h"
|
"machine.h"
|
||||||
"preferences.h"
|
"preferences.h"
|
||||||
"tinyxml/tinyxml.h"
|
"tinyxml/tinyxml.h"
|
||||||
|
|
||||||
1307354717 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadMain.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadMain.cpp
|
||||||
"wx_pch.h"
|
"wx_pch.h"
|
||||||
"version.h"
|
"version.h"
|
||||||
<wx/app.h>
|
<wx/app.h>
|
||||||
@ -8332,22 +8332,22 @@
|
|||||||
"sleeplib/profiles.h"
|
"sleeplib/profiles.h"
|
||||||
"sleeplib/machine_loader.h"
|
"sleeplib/machine_loader.h"
|
||||||
|
|
||||||
1307354731 source:/home/mark/projects/git/sleepyhead/src/graphs/graph.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/graphs/graph.cpp
|
||||||
<wx/settings.h>
|
<wx/settings.h>
|
||||||
<wx/dcbuffer.h>
|
<wx/dcbuffer.h>
|
||||||
<wx/log.h>
|
<wx/log.h>
|
||||||
"graph.h"
|
"graph.h"
|
||||||
"sleeplib/profiles.h"
|
"sleeplib/profiles.h"
|
||||||
|
|
||||||
1307336656 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/binary_file.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/binary_file.cpp
|
||||||
<wx/filename.h>
|
<wx/filename.h>
|
||||||
"binary_file.h"
|
"binary_file.h"
|
||||||
|
|
||||||
1307245704 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/binary_file.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/binary_file.h
|
||||||
<wx/ffile.h>
|
<wx/ffile.h>
|
||||||
<wx/utils.h>
|
<wx/utils.h>
|
||||||
|
|
||||||
1307336464 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/machine.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/machine.cpp
|
||||||
<tr1/random>
|
<tr1/random>
|
||||||
<wx/colour.h>
|
<wx/colour.h>
|
||||||
<wx/log.h>
|
<wx/log.h>
|
||||||
@ -8357,10 +8357,10 @@
|
|||||||
"profiles.h"
|
"profiles.h"
|
||||||
<algorithm>
|
<algorithm>
|
||||||
|
|
||||||
1307245704 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/machine_loader.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/machine_loader.cpp
|
||||||
"machine_loader.h"
|
"machine_loader.h"
|
||||||
|
|
||||||
1307245704 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/preferences.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/preferences.cpp
|
||||||
<wx/wx.h>
|
<wx/wx.h>
|
||||||
<wx/filename.h>
|
<wx/filename.h>
|
||||||
<wx/string.h>
|
<wx/string.h>
|
||||||
@ -8368,7 +8368,7 @@
|
|||||||
<wx/stdpaths.h>
|
<wx/stdpaths.h>
|
||||||
"preferences.h"
|
"preferences.h"
|
||||||
|
|
||||||
1307245704 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/profiles.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/profiles.cpp
|
||||||
<wx/filefn.h>
|
<wx/filefn.h>
|
||||||
<wx/filename.h>
|
<wx/filename.h>
|
||||||
<wx/utils.h>
|
<wx/utils.h>
|
||||||
@ -8380,7 +8380,7 @@
|
|||||||
"machine_loader.h"
|
"machine_loader.h"
|
||||||
"tinyxml/tinyxml.h"
|
"tinyxml/tinyxml.h"
|
||||||
|
|
||||||
1307336462 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.cpp
|
||||||
<wx/dir.h>
|
<wx/dir.h>
|
||||||
<wx/filename.h>
|
<wx/filename.h>
|
||||||
<wx/ffile.h>
|
<wx/ffile.h>
|
||||||
@ -8392,37 +8392,37 @@
|
|||||||
<wx/msgdlg.h>
|
<wx/msgdlg.h>
|
||||||
"prs1_loader.h"
|
"prs1_loader.h"
|
||||||
|
|
||||||
1307245704 source:/home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinystr.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinystr.cpp
|
||||||
"tinystr.h"
|
"tinystr.h"
|
||||||
|
|
||||||
1307245704 source:/home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinyxml.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinyxml.cpp
|
||||||
<ctype.h>
|
<ctype.h>
|
||||||
<sstream>
|
<sstream>
|
||||||
<iostream>
|
<iostream>
|
||||||
"tinyxml.h"
|
"tinyxml.h"
|
||||||
|
|
||||||
1307245704 source:/home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinyxmlerror.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinyxmlerror.cpp
|
||||||
"tinyxml.h"
|
"tinyxml.h"
|
||||||
|
|
||||||
1307245704 source:/home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinyxmlparser.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/tinyxml/tinyxmlparser.cpp
|
||||||
<ctype.h>
|
<ctype.h>
|
||||||
<stddef.h>
|
<stddef.h>
|
||||||
"tinyxml.h"
|
"tinyxml.h"
|
||||||
<windows.h>
|
<windows.h>
|
||||||
|
|
||||||
1307287644 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/loader_plugins/cms50_loader.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/loader_plugins/cms50_loader.h
|
||||||
"sleeplib/machine_loader.h"
|
"sleeplib/machine_loader.h"
|
||||||
|
|
||||||
1307336371 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/loader_plugins/cms50_loader.cpp
|
1307369881 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/loader_plugins/cms50_loader.cpp
|
||||||
<wx/log.h>
|
<wx/log.h>
|
||||||
<wx/progdlg.h>
|
<wx/progdlg.h>
|
||||||
"cms50_loader.h"
|
"cms50_loader.h"
|
||||||
"sleeplib/machine.h"
|
"sleeplib/machine.h"
|
||||||
|
|
||||||
1307275207 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/loader_plugins/zeo_loader.h
|
1307358939 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/loader_plugins/zeo_loader.h
|
||||||
"sleeplib/machine_loader.h"
|
"sleeplib/machine_loader.h"
|
||||||
|
|
||||||
1307275410 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/loader_plugins/zeo_loader.cpp
|
1307358939 source:/home/mark/projects/git/sleepyhead/src/libs/sleeplib/loader_plugins/zeo_loader.cpp
|
||||||
<wx/log.h>
|
<wx/log.h>
|
||||||
"zeo_loader.h"
|
"zeo_loader.h"
|
||||||
"sleeplib/machine.h"
|
"sleeplib/machine.h"
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
<File name="../../src/SleepyHeadApp.cpp" open="1" top="0" tabpos="1">
|
<File name="../../src/SleepyHeadApp.cpp" open="1" top="0" tabpos="1">
|
||||||
<Cursor position="1042" topLine="21" />
|
<Cursor position="1042" topLine="21" />
|
||||||
</File>
|
</File>
|
||||||
<File name="../../src/SleepyHeadMain.cpp" open="1" top="1" tabpos="2">
|
<File name="../../src/SleepyHeadMain.cpp" open="1" top="0" tabpos="2">
|
||||||
<Cursor position="9011" topLine="191" />
|
<Cursor position="9011" topLine="191" />
|
||||||
</File>
|
</File>
|
||||||
<File name="../../src/SleepyHeadMain.h" open="1" top="0" tabpos="3">
|
<File name="../../src/SleepyHeadMain.h" open="1" top="0" tabpos="3">
|
||||||
<Cursor position="546" topLine="0" />
|
<Cursor position="546" topLine="0" />
|
||||||
</File>
|
</File>
|
||||||
<File name="../../src/graphs/graph.cpp" open="1" top="0" tabpos="9">
|
<File name="../../src/graphs/graph.cpp" open="1" top="1" tabpos="9">
|
||||||
<Cursor position="53959" topLine="2027" />
|
<Cursor position="52327" topLine="1854" />
|
||||||
</File>
|
</File>
|
||||||
<File name="../../src/graphs/graph.h" open="1" top="0" tabpos="10">
|
<File name="../../src/graphs/graph.h" open="1" top="0" tabpos="10">
|
||||||
<Cursor position="15761" topLine="437" />
|
<Cursor position="15761" topLine="437" />
|
||||||
|
@ -113,13 +113,15 @@ bool CMS50Loader::OpenSPORFile(wxString path,Machine *mach,Profile *profile)
|
|||||||
|
|
||||||
f.Read(tmp,16);
|
f.Read(tmp,16);
|
||||||
|
|
||||||
wxString datestr;
|
for (int i=0;i<8;i++) {
|
||||||
for (int i=0;i<16;i+=2) {
|
tmp[i]=tmp[i << 1];
|
||||||
datestr=datestr+(char)tmp[i];
|
|
||||||
}
|
}
|
||||||
|
tmp[8]=0;
|
||||||
|
wxString datestr((char *)tmp,wxConvUTF8);
|
||||||
|
|
||||||
wxDateTime date;
|
wxDateTime date;
|
||||||
date.ParseFormat(datestr,wxT("%m/%d/%y"));
|
date.ParseFormat(datestr,wxT("%m/%d/%y"));
|
||||||
|
wxLogMessage(datestr);
|
||||||
|
|
||||||
f.Seek(data_starts,wxFromStart);
|
f.Seek(data_starts,wxFromStart);
|
||||||
buffer=new char [num_records*2];
|
buffer=new char [num_records*2];
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
namespace AutoVersion{
|
namespace AutoVersion{
|
||||||
|
|
||||||
//Date Version Types
|
//Date Version Types
|
||||||
static const char DATE[] = "06";
|
static const char DATE[] = "07";
|
||||||
static const char MONTH[] = "06";
|
static const char MONTH[] = "06";
|
||||||
static const char YEAR[] = "2011";
|
static const char YEAR[] = "2011";
|
||||||
static const char UBUNTU_VERSION_STYLE[] = "11.06";
|
static const char UBUNTU_VERSION_STYLE[] = "11.06";
|
||||||
@ -16,14 +16,14 @@ namespace AutoVersion{
|
|||||||
//Standard Version Type
|
//Standard Version Type
|
||||||
static const long MAJOR = 0;
|
static const long MAJOR = 0;
|
||||||
static const long MINOR = 7;
|
static const long MINOR = 7;
|
||||||
static const long BUILD = 3279;
|
static const long BUILD = 3282;
|
||||||
static const long REVISION = 1025;
|
static const long REVISION = 1040;
|
||||||
|
|
||||||
//Miscellaneous Version Types
|
//Miscellaneous Version Types
|
||||||
static const long BUILDS_COUNT = 369;
|
static const long BUILDS_COUNT = 371;
|
||||||
#define RC_FILEVERSION 0,7,3279,1025
|
#define RC_FILEVERSION 0,7,3282,1040
|
||||||
#define RC_FILEVERSION_STRING "0, 7, 3279, 1025\0"
|
#define RC_FILEVERSION_STRING "0, 7, 3282, 1040\0"
|
||||||
static const char FULLVERSION_STRING[] = "0.7.3279.1025";
|
static const char FULLVERSION_STRING[] = "0.7.3282.1040";
|
||||||
|
|
||||||
//These values are to keep track of your versioning state, don't modify them.
|
//These values are to keep track of your versioning state, don't modify them.
|
||||||
static const long BUILD_HISTORY = 0;
|
static const long BUILD_HISTORY = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user