summaryrefslogtreecommitdiff
path: root/gp2x
diff options
context:
space:
mode:
authornotaz2009-05-21 19:14:28 +0300
committernotaz2009-05-21 19:16:10 +0300
commit90206450327a222607119b04f34cf1853faf37f8 (patch)
tree672ebef28cb7b4429fd546ae37fe850bfe51cf64 /gp2x
parent010878638d6510ff2992e33fda84e137a1c2a9e0 (diff)
downloadpicogpsp-90206450327a222607119b04f34cf1853faf37f8.tar.gz
picogpsp-90206450327a222607119b04f34cf1853faf37f8.tar.bz2
picogpsp-90206450327a222607119b04f34cf1853faf37f8.zip
tweaks from 2008 (gpsp09-2xb_3)
Diffstat (limited to 'gp2x')
-rw-r--r--gp2x/gp2x.c8
-rw-r--r--gp2x/readme_gp2x.txt17
2 files changed, 23 insertions, 2 deletions
diff --git a/gp2x/gp2x.c b/gp2x/gp2x.c
index 29ee5f4..7f723b5 100644
--- a/gp2x/gp2x.c
+++ b/gp2x/gp2x.c
@@ -28,12 +28,13 @@
extern int main_cpuspeed(int argc, char *argv[]);
extern SDL_Surface* screen;
-u32 gp2x_audio_volume = 74;
+u32 gp2x_audio_volume = 74/2;
u32 gpsp_gp2x_dev_audio = 0;
u32 gpsp_gp2x_dev = 0;
volatile u16 *gpsp_gp2x_memregs;
volatile u32 *gpsp_gp2x_memregl;
+extern unsigned short *gp2x_memregs;
static volatile u16 *MEM_REG;
@@ -64,7 +65,9 @@ void gp2x_overclock()
gpsp_gp2x_memregs = (unsigned short *)gpsp_gp2x_memregl;
clear_screen(0);
- main_cpuspeed(0, NULL);
+// main_cpuspeed(0, NULL);
+ gp2x_memregs = (void *)gpsp_gp2x_memregs;
+ cpuctrl_init();
gp2x_sound_volume(1);
}
@@ -73,6 +76,7 @@ void gp2x_quit()
munmap((void *)gpsp_gp2x_memregl, 0x10000);
close(gpsp_gp2x_dev_audio);
close(gpsp_gp2x_dev);
+
chdir("/usr/gp2x");
execl("gp2xmenu", "gp2xmenu", NULL);
}
diff --git a/gp2x/readme_gp2x.txt b/gp2x/readme_gp2x.txt
index 434250a..a0af69d 100644
--- a/gp2x/readme_gp2x.txt
+++ b/gp2x/readme_gp2x.txt
@@ -12,6 +12,23 @@ not apply however).
Changelog:
+0.9-2xb u1 (unofficial notaz release):
+- Fixed a problen in thread synchronization which caused deadlock after
+ some time.
+
+0.9-2xb u2 (unofficial notaz release):
+- Replaced non-working mmuhack.o with proper one, added cache flush calls
+ to avoid artifacts.
+
+0.9-2xb u3 (unofficial notaz release, released with permission):
+- Removed built-in CPU/LCD/RAM-Tweaker.
+- Improved usability of volume control.
+- Removed PSP-specific GUI options, adjusted help text.
+- Overclocking from menu now works, keep it at 200 if you don't want that
+ (if you want to overclock using launcher, for example).
+- Fixed centering-on-first-run problem.
+- 3:2 scaled option now does what it says.
+
0.9-2xb:
-- IMPORTANT-- If you're overwriting an old version, be sure to delete the
gpsp.cfg file first, or be prepared to have a bunch of weird button