This commit is contained in:
twinaphex 2022-04-01 17:42:05 +02:00
parent db12f0927e
commit 5c7722d4d7
3 changed files with 3 additions and 6 deletions

View File

@ -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()));

View File

@ -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()
{
}

View File

@ -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);