CryZe / WindWakerDebugMenu

A The Legend of Zelda: The Wind Waker Rom Hack that adds a Debug Menu
MIT License
33 stars 7 forks source link

Rewrite the Debug Menu to use async await #11

Open CryZe opened 4 years ago

CryZe commented 4 years ago

Instead of storing everything in globals and mutating those super unsafely, we can condense everything down to a single global that is the async runtime. The whole debug menu then basically is just a bunch of asynchronous functions that make progress as you click through the menus.

This is currently blocked by the Rust compiler not being able to use async await on core, but this is soon possible: https://github.com/rust-lang/rust/pull/69033