/[pcsx2_0.9.7]/trunk/common/include/PS2Edefs.h
ViewVC logotype

Diff of /trunk/common/include/PS2Edefs.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by william, Tue Sep 7 03:24:11 2010 UTC revision 62 by william, Tue Sep 7 11:08:22 2010 UTC
# Line 248  void CALLBACK GSsetSettingsDir( const ch Line 248  void CALLBACK GSsetSettingsDir( const ch
248  void CALLBACK GSsetLogDir( const char* dir );  void CALLBACK GSsetLogDir( const char* dir );
249    
250  void CALLBACK GSvsync(int field);  void CALLBACK GSvsync(int field);
251    void CALLBACK GSgifTransfer(const u32 *pMem, u32 addr);
252  void CALLBACK GSgifTransfer1(u32 *pMem, u32 addr);  void CALLBACK GSgifTransfer1(u32 *pMem, u32 addr);
253  void CALLBACK GSgifTransfer2(u32 *pMem, u32 size);  void CALLBACK GSgifTransfer2(u32 *pMem, u32 size);
254  void CALLBACK GSgifTransfer3(u32 *pMem, u32 size);  void CALLBACK GSgifTransfer3(u32 *pMem, u32 size);
# Line 343  void CALLBACK SPU2shutdown(); Line 344  void CALLBACK SPU2shutdown();
344  void CALLBACK SPU2setSettingsDir( const char* dir );  void CALLBACK SPU2setSettingsDir( const char* dir );
345  void CALLBACK SPU2setLogDir( const char* dir );  void CALLBACK SPU2setLogDir( const char* dir );
346    
347    void CALLBACK SPU2reset();
348  void CALLBACK SPU2write(u32 mem, u16 value);  void CALLBACK SPU2write(u32 mem, u16 value);
349  u16  CALLBACK SPU2read(u32 mem);  u16  CALLBACK SPU2read(u32 mem);
350    
# Line 564  typedef void (CALLBACK* _PS2EsetEmuVersi Line 566  typedef void (CALLBACK* _PS2EsetEmuVersi
566  typedef s32  (CALLBACK* _GSopen)(void *pDsp, char *Title, int multithread);  typedef s32  (CALLBACK* _GSopen)(void *pDsp, char *Title, int multithread);
567  typedef s32  (CALLBACK* _GSopen2)( void *pDsp, u32 flags );  typedef s32  (CALLBACK* _GSopen2)( void *pDsp, u32 flags );
568  typedef void (CALLBACK* _GSvsync)(int field);  typedef void (CALLBACK* _GSvsync)(int field);
569    typedef void (CALLBACK* _GSgifTransfer)(const u32 *pMem, u32 size);
570  typedef void (CALLBACK* _GSgifTransfer1)(u32 *pMem, u32 addr);  typedef void (CALLBACK* _GSgifTransfer1)(u32 *pMem, u32 addr);
571  typedef void (CALLBACK* _GSgifTransfer2)(u32 *pMem, u32 size);  typedef void (CALLBACK* _GSgifTransfer2)(u32 *pMem, u32 size);
572  typedef void (CALLBACK* _GSgifTransfer3)(u32 *pMem, u32 size);  typedef void (CALLBACK* _GSgifTransfer3)(u32 *pMem, u32 size);
# Line 587  typedef void (CALLBACK* _GSwriteCSR)(u32 Line 590  typedef void (CALLBACK* _GSwriteCSR)(u32
590  typedef void (CALLBACK* _GSmakeSnapshot)(const char *path);  typedef void (CALLBACK* _GSmakeSnapshot)(const char *path);
591  typedef void (CALLBACK* _GSmakeSnapshot2)(const char *path, int*, int);  typedef void (CALLBACK* _GSmakeSnapshot2)(const char *path, int*, int);
592    
 // Worthless crap function that returns GS plugin specific data via some  
 // undocumented void* to a struct.   If any pad plugin actually relies on  
 // this info, it deserves to fail new newer pcsx2s.  -- air  
 //typedef void (CALLBACK* _GSgetDriverInfo)(GSdriverInfo *info);  
   
593  // PAD  // PAD
594  typedef s32  (CALLBACK* _PADinit)(u32 flags);  typedef s32  (CALLBACK* _PADinit)(u32 flags);
595  typedef s32  (CALLBACK* _PADopen)(void *pDsp);  typedef s32  (CALLBACK* _PADopen)(void *pDsp);
# Line 605  typedef s32  (CALLBACK* _PADsetSlot)(u8 Line 603  typedef s32  (CALLBACK* _PADsetSlot)(u8
603  typedef s32  (CALLBACK* _PADqueryMtap)(u8 port);  typedef s32  (CALLBACK* _PADqueryMtap)(u8 port);
604    
605  // SPU2  // SPU2
 // NOTE: The read/write functions CANNOT use XMM/MMX regs  
 // If you want to use them, need to save and restore current ones  
606  typedef s32  (CALLBACK* _SPU2open)(void *pDsp);  typedef s32  (CALLBACK* _SPU2open)(void *pDsp);
607    typedef void (CALLBACK* _SPU2reset)();
608  typedef void (CALLBACK* _SPU2write)(u32 mem, u16 value);  typedef void (CALLBACK* _SPU2write)(u32 mem, u16 value);
609  typedef u16  (CALLBACK* _SPU2read)(u32 mem);  typedef u16  (CALLBACK* _SPU2read)(u32 mem);
610    
# Line 723  typedef void (CALLBACK* _FWirqCallback)( Line 720  typedef void (CALLBACK* _FWirqCallback)(
720  extern _GSopen            GSopen;  extern _GSopen            GSopen;
721  extern _GSopen2           GSopen2;  extern _GSopen2           GSopen2;
722  extern _GSvsync           GSvsync;  extern _GSvsync           GSvsync;
723    extern _GSgifTransfer     GSgifTransfer;
724  extern _GSgifTransfer1    GSgifTransfer1;  extern _GSgifTransfer1    GSgifTransfer1;
725  extern _GSgifTransfer2    GSgifTransfer2;  extern _GSgifTransfer2    GSgifTransfer2;
726  extern _GSgifTransfer3    GSgifTransfer3;  extern _GSgifTransfer3    GSgifTransfer3;
# Line 758  extern _PADqueryMtap      PADqueryMtap; Line 756  extern _PADqueryMtap      PADqueryMtap;
756    
757  // SPU2  // SPU2
758  extern _SPU2open          SPU2open;  extern _SPU2open          SPU2open;
759    extern _SPU2reset         SPU2reset;
760  extern _SPU2write         SPU2write;  extern _SPU2write         SPU2write;
761  extern _SPU2read          SPU2read;  extern _SPU2read          SPU2read;
762    

Legend:
Removed from v.31  
changed lines
  Added in v.62

  ViewVC Help
Powered by ViewVC 1.1.22