Merge branch 'master' of https://github.com/xenia-project/xenia into canary_experimental

This commit is contained in:
Gliniak
2025-08-15 15:37:50 +02:00
78 changed files with 3438 additions and 2888 deletions

View File

@@ -86,7 +86,7 @@ GraphicsSystem::~GraphicsSystem() = default;
X_STATUS GraphicsSystem::Setup(cpu::Processor* processor,
kernel::KernelState* kernel_state,
ui::WindowedAppContext* app_context,
[[maybe_unused]] bool is_surface_required) {
bool with_presentation) {
memory_ = processor->memory();
processor_ = processor;
kernel_state_ = kernel_state;
@@ -110,7 +110,7 @@ X_STATUS GraphicsSystem::Setup(cpu::Processor* processor,
custom_res_x, custom_res_y));
}
if (provider_) {
if (with_presentation && provider_) {
// Safe if either the UI thread call or the presenter creation fails.
if (app_context_) {
app_context_->CallInUIThreadSynchronous([this]() {