mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-20 11:27:48 +02:00
The name and value columns were hardcoded at x=17 and x=77. The control has a fixed width in the dialog and can not be widened, so the 8 hex digits of a GPR only just fit - and once the register list got a vertical scrollbar, the ~17px it takes off the client width pushed the last digits off the edge. Derive the value column from the client width each paint instead, pulling it in far enough for a whole value to fit and clipping anything longer rather than letting it spill. Same for the category tab labels. Float registers print with %g rather than %f: in a column that narrow, a clipped %f of a large value is worse than useless (1e20 would read as 100000000), while %g keeps six significant digits and stays short for the values you normally see.
Just open the MSVC project file and build.