mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 17:19:39 +00:00
Cleanups
This commit is contained in:
parent
db12f0927e
commit
5c7722d4d7
@ -75,7 +75,7 @@ void Console::Init()
|
||||
_notificationManager.reset(new NotificationManager());
|
||||
_batteryManager.reset(new BatteryManager());
|
||||
|
||||
_videoRenderer.reset(new VideoRenderer(shared_from_this()));
|
||||
_videoRenderer.reset(new VideoRenderer());
|
||||
_videoDecoder.reset(new VideoDecoder(shared_from_this()));
|
||||
|
||||
_saveStateManager.reset(new SaveStateManager(shared_from_this()));
|
||||
|
@ -2,10 +2,8 @@
|
||||
#include "IRenderingDevice.h"
|
||||
#include "VideoRenderer.h"
|
||||
#include "VideoDecoder.h"
|
||||
#include "Console.h"
|
||||
#include "../Utilities/IVideoRecorder.h"
|
||||
|
||||
VideoRenderer::VideoRenderer(shared_ptr<Console> console)
|
||||
VideoRenderer::VideoRenderer()
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
#include "FrameInfo.h"
|
||||
|
||||
class IRenderingDevice;
|
||||
class Console;
|
||||
|
||||
class VideoRenderer
|
||||
{
|
||||
@ -11,7 +10,7 @@ private:
|
||||
IRenderingDevice* _renderer = nullptr;
|
||||
|
||||
public:
|
||||
VideoRenderer(shared_ptr<Console> console);
|
||||
VideoRenderer();
|
||||
~VideoRenderer();
|
||||
|
||||
void UpdateFrame(void *frameBuffer, uint32_t width, uint32_t height);
|
||||
|
Loading…
Reference in New Issue
Block a user