add flush_uppermem_cache.o in your makefile
add #include "flush_uppermem_cache.h" in your code
use flush_uppermem_cache(screen_surface->pixels, screen_surface->pixels + 320*240, 0); before your video flip
and dont forget to put mmuhack.o near your gpe
:)
Notaz you're my master :D
I've tested your first solution and it work perfectly !
here the finale makefile:
CODE
PROG_NAME = drill2x
OBJS = drill.o CBmps.o Cffont.o CTime.o CInput.o frame_skip.o drill_audio.o flush_uppermem_cache.o
CROSS_COMPILE = C:/devkitPro/devkitGP2X/bin/arm-linux-...
I've compiled Notaz example and overwrite my flush_uppermem_cache.o by the notaz example result, and the compilation finish correctly.
So my conclusion is I need some specifique flags for AS part of my makefile!
and finally flush_uppermem_cache(screen_surface->pixels, screen_surface->pixels...
Ok, i've applied Optimus recommandation
QUOTE
optimus:
Just a notice for testers: The improvement only showed up if I called the function mmuhack after all the SDL inits in my code. And it even fucked up an OGG player I was using if the player was initialized before the mmuhack. But now, in...
Ok I'm starting another thread about the famous Squidge's mmuhack module :D
Normaly if it's good for emulators it should be good for homebrew ? But why no homebrew use it ?
I'm using HW paeryn SDL lib with lot of HW surface in all my gp2x program, I'm successfuly loaded mmuhack module (i...
I've saturated my web space with my gngeo2x video, so I've choosed to post them on dailymotion, their compression/conversion give me better quality than youtube.
Andro Dunos from TV (60fps@170MHz)
Neo Bomberman from TV (60fps@170MHz)
To be continued ...
;)
This morning I wanted to made a clean package of gngeo2x v0.7 on my sd to test my last rage2x but on file archive somebody have updated the official version with a beta !
Spread a beta is not a good idea for all newbies ... :(
I've seen rage2x appear with this package ... but the man who...
Test with your package
step 1
1st launch
Andro dunos = gp2x crashed after neogeouniverse bios screen
Reboot gp2x
2nd launch
Blue's journey = work but only pcm sound
Normal Quit to return in rage2x
3rd launch
Eight man = gp2x crashed after neogeouniverse bios screen
Reboot gp2x
4 launch
Last...
There're many many options in gngeo, this is the complete list of what rage2x can support:
CODE
--showfps (and --no-showfps)
--sound (and --no-sound)
--samplerate=11025 (--samplerate=22050 or --samplerate=44100)
--cpu_speed=xxx
--frontend=name
--raster (and --no-raster)...
@glstar:
Dont worry you re not alone, I've the same pb.
Sometimes I've only sfx, rarely sfx and sound and sometimes gp2x crashed
and that with the same setting and rom :D
I'm serching if I can find a logical reason ;)
Thanks but I'm working on it and I've not finished to add all features I want :)
Like add fixed background option for people who want to have the slowest cpu speed in rage2x.
And I need to check with pepone (or anybody from this board) if I didnt forget one (or more) options for gngeo2x :)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.