From: notaz <notasas@gmail.com>
Date: Sat, 22 Jun 2013 23:03:44 +0000 (+0300)
Subject: minor fixes from old tree
X-Git-Tag: v1.85~94
X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1889fe877cc7cb3c954925c452597498f3c82184;p=picodrive.git

minor fixes from old tree
---

diff --git a/platform/gp2x/soc_pollux.c b/platform/gp2x/soc_pollux.c
index 0199ee16..dd7e66d1 100644
--- a/platform/gp2x/soc_pollux.c
+++ b/platform/gp2x/soc_pollux.c
@@ -283,9 +283,9 @@ int pollux_get_real_snd_rate(int req_rate)
 	rate = decode_pll(clk0_src ? memregl[0xf008>>2] : memregl[0xf004>>2]);
 
 	// apply divisors
-	div = ((memregl[0xdbc4>>2] >> 4) & 0x1f) + 1;
+	div = ((memregl[0xdbc4>>2] >> 4) & 0x3f) + 1;
 	rate /= div;
-	div = ((memregl[0xdbc8>>2] >> 4) & 0x1f) + 1;
+	div = ((memregl[0xdbc8>>2] >> 4) & 0x3f) + 1;
 	rate /= div;
 	rate /= 64;
 
diff --git a/platform/pandora/PicoDrive.pxml.template b/platform/pandora/PicoDrive.pxml.template
index 4164db37..b65a1d3d 100644
--- a/platform/pandora/PicoDrive.pxml.template
+++ b/platform/pandora/PicoDrive.pxml.template
@@ -1,11 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <PXML xmlns="http://openpandora.org/namespaces/PXML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PXML_schema.xsd">
-<application id="picodrive">
-  <title lang="en_US">PicoDrive</title>
-  <title lang="de_DE">PicoDrive</title>
+<package id="package.picodrive.notaz">
+  <titles>
+    <title lang="en_US">PicoDrive</title>
+  </titles>
+  <version major="1" minor="80" release="0" build="899"/>
+  <author name="notaz" website="http://notaz.gp2x.de/"/>
+</package>
+<application id="picodrive.notaz.@major@.@minor@">
+  <titles>
+    <title lang="en_US">PicoDrive @major@.@minor@</title>
+  </titles>
+  <title lang="en_US">PicoDrive @major@.@minor@</title>
  
-  <description lang="en_US">Genesis/MegaDrive/SegaCD/32x Emulator.</description>
-  <description lang="de_DE">Ein MegaDrive/SegaCD/32x Emulator</description>
+  <descriptions>
+    <description lang="en_US">Genesis/MegaDrive/SegaCD/32x Emulator.</description>
+    <description lang="de_DE">Ein MegaDrive/SegaCD/32x Emulator</description>
+  </descriptions>
  
   <exec command="PicoDrive.run"/>
  
@@ -17,8 +28,12 @@
  
   <author name="notaz" website="http://notaz.gp2x.de/"/>
  
+  <licenses>
+    <license name="other"/>
+  </licenses>
+ 
   <version major="@major@" minor="@minor@" release="0" build="@revision@"/>
-  <info name="PicoDrive readme" type="text/plain" src="readme.txt"/>
+  <info name="PicoDrive @major@.@minor@ readme" type="text/plain" src="readme.txt"/>
  
   <categories>
     <category name="Game">