mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 16:16:05 +00:00
Core: add GraphicsModEditor::EditorMain to System
This commit is contained in:
parent
3111a785a1
commit
0d09e0c4ba
2 changed files with 12 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
||||||
#include "VideoCommon/CommandProcessor.h"
|
#include "VideoCommon/CommandProcessor.h"
|
||||||
#include "VideoCommon/Fifo.h"
|
#include "VideoCommon/Fifo.h"
|
||||||
#include "VideoCommon/GeometryShaderManager.h"
|
#include "VideoCommon/GeometryShaderManager.h"
|
||||||
|
#include "VideoCommon/GraphicsModEditor/EditorMain.h"
|
||||||
#include "VideoCommon/PixelEngine.h"
|
#include "VideoCommon/PixelEngine.h"
|
||||||
#include "VideoCommon/PixelShaderManager.h"
|
#include "VideoCommon/PixelShaderManager.h"
|
||||||
#include "VideoCommon/VertexShaderManager.h"
|
#include "VideoCommon/VertexShaderManager.h"
|
||||||
|
@ -100,6 +101,7 @@ struct System::Impl
|
||||||
FifoPlayer m_fifo_player;
|
FifoPlayer m_fifo_player;
|
||||||
FifoRecorder m_fifo_recorder;
|
FifoRecorder m_fifo_recorder;
|
||||||
Movie::MovieManager m_movie;
|
Movie::MovieManager m_movie;
|
||||||
|
GraphicsModEditor::EditorMain m_graphics_mod_editor;
|
||||||
};
|
};
|
||||||
|
|
||||||
System::System() : m_impl{std::make_unique<Impl>(*this)}
|
System::System() : m_impl{std::make_unique<Impl>(*this)}
|
||||||
|
@ -339,4 +341,9 @@ VideoCommon::CustomResourceManager& System::GetCustomResourceManager() const
|
||||||
{
|
{
|
||||||
return m_impl->m_custom_resource_manager;
|
return m_impl->m_custom_resource_manager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GraphicsModEditor::EditorMain& System::GetGraphicsModEditor() const
|
||||||
|
{
|
||||||
|
return m_impl->m_graphics_mod_editor;
|
||||||
|
}
|
||||||
} // namespace Core
|
} // namespace Core
|
||||||
|
|
|
@ -53,6 +53,10 @@ namespace GPFifo
|
||||||
{
|
{
|
||||||
class GPFifoManager;
|
class GPFifoManager;
|
||||||
}
|
}
|
||||||
|
namespace GraphicsModEditor
|
||||||
|
{
|
||||||
|
class EditorMain;
|
||||||
|
}
|
||||||
namespace IOS::HLE
|
namespace IOS::HLE
|
||||||
{
|
{
|
||||||
class EmulationKernel;
|
class EmulationKernel;
|
||||||
|
@ -198,6 +202,7 @@ public:
|
||||||
XFStateManager& GetXFStateManager() const;
|
XFStateManager& GetXFStateManager() const;
|
||||||
VideoInterface::VideoInterfaceManager& GetVideoInterface() const;
|
VideoInterface::VideoInterfaceManager& GetVideoInterface() const;
|
||||||
VideoCommon::CustomResourceManager& GetCustomResourceManager() const;
|
VideoCommon::CustomResourceManager& GetCustomResourceManager() const;
|
||||||
|
GraphicsModEditor::EditorMain& GetGraphicsModEditor() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
System();
|
System();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue