minor fixes from old tree

This commit is contained in:
notaz 2013-06-23 02:03:44 +03:00
parent 30f0fdd422
commit 1889fe877c
2 changed files with 23 additions and 8 deletions

View 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]); rate = decode_pll(clk0_src ? memregl[0xf008>>2] : memregl[0xf004>>2]);
// apply divisors // apply divisors
div = ((memregl[0xdbc4>>2] >> 4) & 0x1f) + 1; div = ((memregl[0xdbc4>>2] >> 4) & 0x3f) + 1;
rate /= div; rate /= div;
div = ((memregl[0xdbc8>>2] >> 4) & 0x1f) + 1; div = ((memregl[0xdbc8>>2] >> 4) & 0x3f) + 1;
rate /= div; rate /= div;
rate /= 64; rate /= 64;

View file

@ -1,11 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <PXML xmlns="http://openpandora.org/namespaces/PXML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PXML_schema.xsd">
<application id="picodrive"> <package id="package.picodrive.notaz">
<titles>
<title lang="en_US">PicoDrive</title> <title lang="en_US">PicoDrive</title>
<title lang="de_DE">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>
<descriptions>
<description lang="en_US">Genesis/MegaDrive/SegaCD/32x Emulator.</description> <description lang="en_US">Genesis/MegaDrive/SegaCD/32x Emulator.</description>
<description lang="de_DE">Ein MegaDrive/SegaCD/32x Emulator</description> <description lang="de_DE">Ein MegaDrive/SegaCD/32x Emulator</description>
</descriptions>
<exec command="PicoDrive.run"/> <exec command="PicoDrive.run"/>
@ -17,8 +28,12 @@
<author name="notaz" website="http://notaz.gp2x.de/"/> <author name="notaz" website="http://notaz.gp2x.de/"/>
<licenses>
<license name="other"/>
</licenses>
<version major="@major@" minor="@minor@" release="0" build="@revision@"/> <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> <categories>
<category name="Game"> <category name="Game">