vitor251093 / KHMelonMix

KH Melon Mix (DS Emulator)
GNU General Public License v3.0
230 stars 11 forks source link

During local multiplayer, both instances of the game share the same instance of the plugin #207

Open vitor251093 opened 3 months ago

vitor251093 commented 3 months ago

Describe the bug During using mission mode to do local multiplayer, both instances of the game share the same instance of the plugin, which means stuff like the game scene gets mixed between them. This also breaks local multiplayer.

To Reproduce Steps to reproduce the behavior:

  1. Launch the game
  2. Start the second instance for multiplayer
  3. Get inside the Multiplayer mission menu
  4. Reach a point where both screens are rendering different game scenes

Expected behavior Each EmuInstance should have a Plugin of its own.

Screenshots image-2

Additional context N/A

vitor251093 commented 1 month ago

It should be possible to fix that by having one plugin per emuInstance->instanceID

vitor251093 commented 1 month ago

I managed to give one plugin for each EmuInstance, which should have solved that issue, but based on my tests, it didn't fix it yet...