Updated PMF

This commit is contained in:
Shoghi Cervantes Pueyo 2013-03-23 13:04:02 +01:00
parent 8bbd899689
commit f07cd21dd1
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class PMF{
$this->seek(0);
if(fread($this->fp, 3) !== "PMF"){
return false;
}
}
$this->version = ord($this->read(1));
switch($this->version){
case 0x01:

View File

@ -47,7 +47,7 @@ class PMFPlugin extends PMF{
if($this->getType() !== 0x01){
return false;
}
$this->seek(5);
$this->pluginData["fversion"] = ord($this->read(1));
$this->pluginData["name"] = $this->read(Utils::readShort($this->read(2), false));
$this->pluginData["version"] = $this->read(Utils::readShort($this->read(2), false));