This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Very simple frame skipping code!
#1
Hello guys,

I'm pretty new here, and always wanted to have a look on a real emulator's source code. I saw that this one dosen't have any frame skipping option, so I decided to try implementing a simple code that omits the rendering process of the PaintGL() method in sceDisplay (from package HLE.modules150) every X frames for X frames. It was really hard at first to have a look on the source code globally because there was many files and I had troubles locating where the roots of the opengl/lwjgl calls were made, but I have finally find my way. I also had to find a work around a weird freeze bug, but that was simply because the emulator pauses if something is not called in the redering loop (and I don't understand this, but at least, it dosen't freeze now)

The code is still trash, and there are probably many ways to improve and optimize it, but the idea is there. It mght be very usefull for low end PCs. Well it is for me. Here is the link:
http://www.copypastecode.com/75893/

based on rev2255
Reply


Messages In This Thread
Very simple frame skipping code! - by overgamer - 08-05-2011, 02:31 PM
RE: Very simple frame skipping code! - by Hykem - 08-05-2011, 03:10 PM
RE: Very simple frame skipping code! - by lwj1985 - 08-05-2011, 03:29 PM
RE: Very simple frame skipping code! - by Orphis - 08-05-2011, 04:27 PM
RE: Very simple frame skipping code! - by void - 08-07-2011, 02:14 PM
RE: Very simple frame skipping code! - by Orphis - 08-05-2011, 05:30 PM
RE: Very simple frame skipping code! - by gid15 - 08-07-2011, 07:58 PM
RE: Very simple frame skipping code! - by Orphis - 08-08-2011, 02:20 AM
RE: Very simple frame skipping code! - by Orphis - 08-15-2011, 11:00 PM
RE: Very simple frame skipping code! - by kasimo - 08-16-2011, 05:26 AM
RE: Very simple frame skipping code! - by kasimo - 08-16-2011, 10:49 AM
RE: Very simple frame skipping code! - by Orphis - 08-16-2011, 12:20 PM
RE: Very simple frame skipping code! - by gid15 - 03-12-2012, 07:24 PM
RE: Very simple frame skipping code! - by serio - 03-12-2012, 08:12 PM
RE: Very simple frame skipping code! - by gid15 - 03-17-2012, 09:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)