Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
799 B

  1. //========= Copyright � , Valve LLC, All rights reserved. ============
  2. //
  3. // These are the workarounds for snTuner inability to patch prx'es,
  4. // as well as access prx symbols after attaching to a running game
  5. // snTuner functions are exposed through pointers to functions in ELF
  6. //
  7. //////////////////////////////////////////////////////////////////////
  8. #ifndef VALVE_PS3_SN_HDR
  9. #define VALVE_PS3_SN_HDR
  10. // Currently these are only defined on PS3, but there's no harm in declaring them on other platforms
  11. #ifdef _PS3
  12. extern "C" void(*g_pfnPushMarker)( const char * pName );
  13. extern "C" void(*g_pfnPopMarker)();
  14. extern "C" void(*g_pfnSwapBufferMarker)();
  15. #else
  16. inline void g_pfnPushMarker( const char * pName ){}
  17. inline void g_pfnPopMarker(){}
  18. inline void g_pfnSwapBufferMarker(){}
  19. #endif
  20. #endif