mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +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/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"
|
||||||
|
@ -98,6 +99,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)}
|
||||||
|
@ -332,4 +334,9 @@ VideoCommon::CustomAssetLoader& System::GetCustomAssetLoader() const
|
||||||
{
|
{
|
||||||
return m_impl->m_custom_asset_loader;
|
return m_impl->m_custom_asset_loader;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
@ -194,6 +198,7 @@ public:
|
||||||
XFStateManager& GetXFStateManager() const;
|
XFStateManager& GetXFStateManager() const;
|
||||||
VideoInterface::VideoInterfaceManager& GetVideoInterface() const;
|
VideoInterface::VideoInterfaceManager& GetVideoInterface() const;
|
||||||
VideoCommon::CustomAssetLoader& GetCustomAssetLoader() const;
|
VideoCommon::CustomAssetLoader& GetCustomAssetLoader() const;
|
||||||
|
GraphicsModEditor::EditorMain& GetGraphicsModEditor() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
System();
|
System();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue