cvut / qtrvsim

RISC-V CPU simulator for education purposes
GNU General Public License v3.0
466 stars 56 forks source link

Machine: fix CSR::RegisterMapByName key type to std::string #142

Closed trdthg closed 2 months ago

trdthg commented 2 months ago

Sorry, this is a bug caused by #133

Before the #133 merge, the key I used was QString, but it didn't work on Windows

So I solved the problem with const chat*, but didn't test it (my fault).

When I did #120, it didn't match anything, so there was this PR