1
0

Fix VERSION system variable

This commit is contained in:
otya128
2016-12-16 23:18:55 +09:00
parent b4d283daad
commit 00efdec87d
2 changed files with 4 additions and 4 deletions

View File

@@ -891,7 +891,7 @@ class PetitComputer
}
void printInformation()
{
console.print("otyaSMILEBASIC ver ", otya.smilebasic.systemvariable.Version.VERSIONSTRING, "\n");
console.print("otyaSMILEBASIC ver ", versionString, "\n");
console.print("(C)2015-2016 otya\n");
console.print("8327164 bytes free\n");
console.print("\n");
@@ -1470,6 +1470,8 @@ class PetitComputer
}
}
Hardware hardware = Hardware.wiiU;
wstring versionString = "3.5.0";
int version_ = 0x3050000;
//プチコン内部表現はRGB5_A1
static uint toGLColor(GLenum format, ubyte r, ubyte g, ubyte b, ubyte a)
{

View File

@@ -92,12 +92,10 @@ class TabStep : SystemVariable
}
class Version : SystemVariable
{
static VERSIONSTRING = "3.1.0";
static VERSION = 0x3010000;
@property
override Value value()
{
return Value(VERSION);
return Value(vm.petitcomputer.version_);
}
}
class FreeMem : SystemVariable