Fix for PSX4Droid Lag Identified

You may or may not know XDA member zodttd. If you use PSX4Droid (an Playstation 1 emulator for Android), then you owe this dev a thank or two as he is the one that created this app. The emulator runs fantastically well on most devices but it has a problem. As time goes by, performance decreases (you may see FPS drops). After seeing this, zodttd decided to look into the problem and found the culprit coding for this. He has provided his findings as a guide for devs to cook this solution into their kernels and roms.

Please leave some feedback for the dev in case you find some other “oddity” in the code.

Hi,

I am the author of psx4droid. It’s a PSX emulator that uses a dynarec. Due to the nature of this code I can have to invalidate the instruction cache on these Android’s ARM processors. Just like Yong must do in GameBoid.

I noticed performance loss on the Evo 4G, MyTouch 4G and potentially others. As do some people running GameBoid (though this emulator lays heavy on frame limiting as it runs faster than 60 FPS so it’s not noticed as much).

egzthunder1

egzthunder1 is an editor on XDA-Developers,
the largest community for Android users. I have been an active member of xda-developers since 2005 and have gone through various roles in my time here. I am Former Portal Administrator, and currently part of the administrator team while maintaining my writer status for the portal. In real life, I am a Chemical Engineer turned Realtor in the Miami area.
View egzthunder1's posts and articles here.

Join us in a fun Sunday Debate on Compromises. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below! Getting an upgrade is a big deal to us power users: it’s our little Android Christmas, where after a long time (for plenty of us, at least)...

The Note 4 never had the fastest Recents Menu, and despite its 3GB of RAM, its app-holding capabilities only got worse on Lollipop. The infamous RAM bug that plagued the S6 is indeed an annoyance on the Note 4's 5.0.X ROMs. Rumors of an update to fix all of this were confirmed with the first reports of the 5.1.1 update for the Russian Note 4, which seemingly improved the Recents Menu and RAM management. But it'll be a long time...

Apps are at the front and center of any smartphone experience, and with over a million apps on the Google Play Store and new apps being submitted to our forums every day, staying up to date on the latest apps and games can be a hassle. At XDA we don’t discriminate apps - if it’s interesting, innovative, original or useful, we mention them. The XDA Portal Team loves apps too, and here are our top picks for this week. ...

Samsung Galaxy Note 3 (AT&T) [N900A]

OnePlus One (Unlocked)

HTC One M9 (Unlocked)

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?