137fb6cb9f
Here's another patch for rockboy that adds automatic frameskip (it's pretty rough as I haven't figured out an accurate timer), fullscreen support on the H300, and a bit of assembly and some IRAM stuff. I'm not sure if I'm doing the IRAM stuff correct though as it doesn't seem to make much of a difference if any. I've also added a statistics option that will show how many frames per second the gameboy is seeing (not what the player is getting) and what the frameskip is at. When you enable stats sometimes you have to go back into the menu and then come out to clear erronous values. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8397 a1c6a512-1295-4272-9138-f99709370657
36 lines
256 B
C
36 lines
256 B
C
|
|
|
|
#ifndef __FB_H__
|
|
#define __FB_H__
|
|
|
|
|
|
#include "defs.h"
|
|
|
|
|
|
|
|
struct fb
|
|
{
|
|
fb_data *ptr;
|
|
int w, h;
|
|
int pelsize;
|
|
int pitch;
|
|
int indexed;
|
|
struct
|
|
{
|
|
int l, r;
|
|
} cc[4];
|
|
int yuv;
|
|
int enabled;
|
|
int dirty;
|
|
int mode;
|
|
};
|
|
|
|
|
|
extern struct fb fb;
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|