Skip to content

Replace global/singletons by a single ShadPs4 singleton to reduce all…#4220

Draft
Niram7777 wants to merge 1 commit intoshadps4-emu:mainfrom
Niram7777:fix-order-ctor-dtor
Draft

Replace global/singletons by a single ShadPs4 singleton to reduce all…#4220
Niram7777 wants to merge 1 commit intoshadps4-emu:mainfrom
Niram7777:fix-order-ctor-dtor

Conversation

@Niram7777
Copy link
Copy Markdown
Contributor

@Niram7777 Niram7777 commented Apr 4, 2026

… scope inside main and control order

This removes the quick_exit
This is working when closing the SDL window early (when the linker->main_thread is not really far)
This change requires to use ShadPs4App::GetInstance() now (except inside Libraries::HleLayer constructor where Dependency Injection is required, pass parameters through constructor)

  • remove the spdlog which is in my other PR
  • fix shutdown frozen in game menu (I probably have to stop other threads)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant