start work

This commit is contained in:
2026-06-04 14:06:56 +02:00
parent 3080d4d45a
commit 506e4ff6f9
301 changed files with 240 additions and 140133 deletions
+6 -8
View File
@@ -1,12 +1,10 @@
#include <Core.hpp>
#include <KaizenGui.hpp>
#include <RenderWidget.hpp>
#include <SDL3/SDL.h>
#include <imgui_impl_sdl3.h>
RenderWidget::RenderWidget(SDL_Window* window) {
wsiPlatform = std::make_shared<SDLWSIPlatform>(window);
windowInfo = std::make_shared<SDLParallelRdpWindowInfo>(window);
n64::Core& core = n64::Core::GetInstance();
core.parallel.Init(wsiPlatform, windowInfo, core.GetMem().GetRDRAMPtr());
}
RenderWidget::RenderWidget(QWindow *window) {
wsiPlatform = std::make_shared<QtWSIPlatform>(window);
windowInfo = std::make_shared<QtPrdpWindowInfo>(window);
n64::Core &core = n64::Core::GetInstance();
core.parallel.Init(wsiPlatform, windowInfo, core.GetMem().GetRDRAMPtr());
}