diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-08-13 21:58:00 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-08-13 21:58:00 +0000 |
| commit | d310056a1a1dc1305735178bc57b499001e92b4d (patch) | |
| tree | 9a0f65f3b4a0c736cdb1e85a090aa3cbc81a867d /libpcsxcore/plugins.h | |
| parent | 3e945aaa3675d69e746715fe0abc5dbef4923222 (diff) | |
| download | pcsxr-d310056a1a1dc1305735178bc57b499001e92b4d.tar.gz | |
Added gpu busy interface.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56084 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/plugins.h')
| -rw-r--r-- | libpcsxcore/plugins.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libpcsxcore/plugins.h b/libpcsxcore/plugins.h index 9c24ecef..37957a13 100644 --- a/libpcsxcore/plugins.h +++ b/libpcsxcore/plugins.h @@ -94,6 +94,8 @@ typedef long (CALLBACK* GPUgetScreenPic)(unsigned char *); typedef long (CALLBACK* GPUshowScreenPic)(unsigned char *);
typedef void (CALLBACK* GPUclearDynarec)(void (CALLBACK *callback)(void));
typedef void (CALLBACK* GPUvBlank)(int);
+typedef void (CALLBACK* GPUregisterCallback)(void (CALLBACK *callback)(int));
+typedef void (CALLBACK* GPUidle)(void);
// GPU function pointers
extern GPUupdateLace GPU_updateLace;
@@ -119,6 +121,8 @@ extern GPUgetScreenPic GPU_getScreenPic; extern GPUshowScreenPic GPU_showScreenPic;
extern GPUclearDynarec GPU_clearDynarec;
extern GPUvBlank GPU_vBlank;
+extern GPUregisterCallback GPU_registerCallback;
+extern GPUidle GPU_idle;
// CD-ROM Functions
typedef long (CALLBACK* CDRinit)(void);
@@ -150,7 +154,7 @@ struct SubQ { unsigned char IndexNumber;
unsigned char TrackRelativeAddress[3];
unsigned char Filler;
- unsigned char AbsoluteAddress[3]; + unsigned char AbsoluteAddress[3];
unsigned char CRC[2];
char res1[72];
};
@@ -400,6 +404,8 @@ extern SIO1registerCallback SIO1_registerCallback; void CALLBACK clearDynarec(void);
+void CALLBACK GPUbusy( int ticks );
+
void SetIsoFile(const char *filename);
const char *GetIsoFile(void);
boolean UsingIso(void);
|
