Skip to content

Conversation

@yamt
Copy link
Contributor

@yamt yamt commented Oct 9, 2025

recently i got surprised to see diskw during a netplay performs localStorage.setItem even on non-host players. (and it overwrote the save data for the cart i happened to have on the browser.) as the disk buffer is a part of the shared state provided by the netplay host, it's more natural to make diskw perform localStorage.setItem only on the host.

cf. #837

recently i got surprised to see diskw during a netplay performs
localStorage.setItem even on non-host players. (and it overwrote
the save data for the cart i happened to have on the browser.)
as the disk buffer is a part of the shared state provided by the
netplay host, it's more natural to make diskw perform
localStorage.setItem only on the host.

cf. aduros#837
@aduros aduros merged commit 2cf9d05 into aduros:main Oct 9, 2025
9 checks passed
@aduros aduros linked an issue Oct 9, 2025 that may be closed by this pull request
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.

netplay vs diskw

2 participants