minor fixes from old tree
authornotaz <notasas@gmail.com>
Sat, 22 Jun 2013 23:03:44 +0000 (02:03 +0300)
committernotaz <notasas@gmail.com>
Wed, 26 Jun 2013 00:07:08 +0000 (03:07 +0300)
platform/gp2x/soc_pollux.c
platform/pandora/PicoDrive.pxml.template

index 0199ee1..dd7e66d 100644 (file)
@@ -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;
 
index 4164db3..b65a1d3 100644 (file)
@@ -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"/>
  
  
   <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">