mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 19:27:27 +00:00
VideoCommon: update system to add graphics mod system manager
This commit is contained in:
parent
d22b2bcf43
commit
b8f60518c5
2 changed files with 11 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
||||||
#include "VideoCommon/Fifo.h"
|
#include "VideoCommon/Fifo.h"
|
||||||
#include "VideoCommon/GeometryShaderManager.h"
|
#include "VideoCommon/GeometryShaderManager.h"
|
||||||
#include "VideoCommon/GraphicsModEditor/EditorMain.h"
|
#include "VideoCommon/GraphicsModEditor/EditorMain.h"
|
||||||
|
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.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
|
||||||
FifoRecorder m_fifo_recorder;
|
FifoRecorder m_fifo_recorder;
|
||||||
Movie::MovieManager m_movie;
|
Movie::MovieManager m_movie;
|
||||||
GraphicsModEditor::EditorMain m_graphics_mod_editor;
|
GraphicsModEditor::EditorMain m_graphics_mod_editor;
|
||||||
|
GraphicsModSystem::Runtime::GraphicsModManager m_graphics_mod_manager;
|
||||||
};
|
};
|
||||||
|
|
||||||
System::System() : m_impl{std::make_unique<Impl>(*this)}
|
System::System() : m_impl{std::make_unique<Impl>(*this)}
|
||||||
|
@ -339,4 +341,8 @@ GraphicsModEditor::EditorMain& System::GetGraphicsModEditor() const
|
||||||
{
|
{
|
||||||
return m_impl->m_graphics_mod_editor;
|
return m_impl->m_graphics_mod_editor;
|
||||||
}
|
}
|
||||||
|
GraphicsModSystem::Runtime::GraphicsModManager& System::GetGraphicsModManager() const
|
||||||
|
{
|
||||||
|
return m_impl->m_graphics_mod_manager;
|
||||||
|
}
|
||||||
} // namespace Core
|
} // namespace Core
|
||||||
|
|
|
@ -57,6 +57,10 @@ namespace GraphicsModEditor
|
||||||
{
|
{
|
||||||
class EditorMain;
|
class EditorMain;
|
||||||
}
|
}
|
||||||
|
namespace GraphicsModSystem::Runtime
|
||||||
|
{
|
||||||
|
class GraphicsModManager;
|
||||||
|
}
|
||||||
namespace IOS::HLE
|
namespace IOS::HLE
|
||||||
{
|
{
|
||||||
class EmulationKernel;
|
class EmulationKernel;
|
||||||
|
@ -199,6 +203,7 @@ public:
|
||||||
VideoInterface::VideoInterfaceManager& GetVideoInterface() const;
|
VideoInterface::VideoInterfaceManager& GetVideoInterface() const;
|
||||||
VideoCommon::CustomAssetLoader& GetCustomAssetLoader() const;
|
VideoCommon::CustomAssetLoader& GetCustomAssetLoader() const;
|
||||||
GraphicsModEditor::EditorMain& GetGraphicsModEditor() const;
|
GraphicsModEditor::EditorMain& GetGraphicsModEditor() const;
|
||||||
|
GraphicsModSystem::Runtime::GraphicsModManager& GetGraphicsModManager() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
System();
|
System();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue