mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
Core: add GraphicsModEditor::EditorMain to System
This commit is contained in:
parent
4d3f247cc3
commit
d98fa316cf
2 changed files with 12 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
#include "VideoCommon/CommandProcessor.h"
|
||||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/GeometryShaderManager.h"
|
||||
#include "VideoCommon/GraphicsModEditor/EditorMain.h"
|
||||
#include "VideoCommon/PixelEngine.h"
|
||||
#include "VideoCommon/PixelShaderManager.h"
|
||||
#include "VideoCommon/VertexShaderManager.h"
|
||||
|
@ -98,6 +99,7 @@ struct System::Impl
|
|||
FifoPlayer m_fifo_player;
|
||||
FifoRecorder m_fifo_recorder;
|
||||
Movie::MovieManager m_movie;
|
||||
GraphicsModEditor::EditorMain m_graphics_mod_editor;
|
||||
};
|
||||
|
||||
System::System() : m_impl{std::make_unique<Impl>(*this)}
|
||||
|
@ -332,4 +334,9 @@ VideoCommon::CustomAssetLoader& System::GetCustomAssetLoader() const
|
|||
{
|
||||
return m_impl->m_custom_asset_loader;
|
||||
}
|
||||
|
||||
GraphicsModEditor::EditorMain& System::GetGraphicsModEditor() const
|
||||
{
|
||||
return m_impl->m_graphics_mod_editor;
|
||||
}
|
||||
} // namespace Core
|
||||
|
|
|
@ -53,6 +53,10 @@ namespace GPFifo
|
|||
{
|
||||
class GPFifoManager;
|
||||
}
|
||||
namespace GraphicsModEditor
|
||||
{
|
||||
class EditorMain;
|
||||
}
|
||||
namespace IOS::HLE
|
||||
{
|
||||
class EmulationKernel;
|
||||
|
@ -194,6 +198,7 @@ public:
|
|||
XFStateManager& GetXFStateManager() const;
|
||||
VideoInterface::VideoInterfaceManager& GetVideoInterface() const;
|
||||
VideoCommon::CustomAssetLoader& GetCustomAssetLoader() const;
|
||||
GraphicsModEditor::EditorMain& GetGraphicsModEditor() const;
|
||||
|
||||
private:
|
||||
System();
|
||||
|
|
Loading…
Add table
Reference in a new issue