mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 09:09:45 +00:00
b4b195d01b
NetPlay: Fixed a few issues (crashes when connecting)
23 lines
416 B
C++
23 lines
416 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "BaseControlDevice.h"
|
|
|
|
class Zapper : public BaseControlDevice
|
|
{
|
|
private:
|
|
bool _pulled;
|
|
int32_t _xPosition;
|
|
int32_t _yPosition;
|
|
|
|
protected:
|
|
uint8_t RefreshState();
|
|
uint8_t ProcessNetPlayState(uint32_t netplayState);
|
|
void StreamState(bool saving);
|
|
|
|
public:
|
|
using BaseControlDevice::BaseControlDevice;
|
|
|
|
uint8_t GetPortOutput();
|
|
|
|
virtual uint32_t GetNetPlayState();
|
|
}; |