text: //
  //  PVDolphinCore.h
  //  PVDolphin
  //
  //  Created by Joseph Mattiello on 10/20/21.
  //  Copyright © 2021 Provenance. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  #import <PVSupport/PVSupport.h>
  #import <PVSupport/PVEmulatorCore.h>
  #import <PVSupport/PVSupport-Swift.h>
  
  #define GET_CURRENT_AND_RETURN(...) __strong __typeof__(_current) current = _current; if(current == nil) return __VA_ARGS__;
  #define GET_CURRENT_OR_RETURN(...)  __strong __typeof__(_current) current = _current; if(current == nil) return __VA_ARGS__;
  
  @interface PVDolphinCore : PVEmulatorCore <PVGameCubeSystemResponderClient>
  {
  	uint8_t padData[4][PVDreamcastButtonCount];
  	int8_t xAxis[4];
  	int8_t yAxis[4];
  	//    int videoWidth;
  	//    int videoHeight;
  	//    int videoBitDepth;
  	int videoDepthBitDepth; // eh
  
  	float sampleRate;
  
  	BOOL isNTSC;
  @public
      dispatch_queue_t _callbackQueue;
  }
  
  @property (nonatomic, assign) int videoWidth;
  @property (nonatomic, assign) int videoHeight;
  @property (nonatomic, assign) int videoBitDepth;
  
  - (void) swapBuffers;
  - (const char *) getBundlePath;
  - (void) SetScreenSize:(int)width :(int)height;
  
  @end
  
  extern __weak PVDolphinCore *_current;
  