Merge branch 'master' of https://github.com/xenia-project/xenia into canary_experimental
This commit is contained in:
@@ -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]() {
|
||||
|
||||
Reference in New Issue
Block a user