misson20000 / twili

Homebrew debug monitor for the Nintendo Switch.
GNU General Public License v3.0
184 stars 23 forks source link

gdb: Fixed `HandleReadMemory` not returning after error. #74

Closed galli-leo closed 5 years ago

galli-leo commented 5 years ago

When HandleReadMemory is called without a thread selected, it crashes. This PR fixes that.

misson20000 commented 5 years ago

Awesome, thanks. Wish C++ had things like Rust's move semantics so I could make it a compile-time error to use a connection after sending a response...