Commit 58d3e6c
committed
dc: live VMU LCD preview in options + dt-based screensaver + label rename
- VMU options: when the icon row is selected and the user scrolls L/R
through the BIOS presets, the picked shape is pushed to the physical
VMU's LCD in real time. B (cancel) reverts the LCD to the VMU's
committed icon (custom ICONDATA if any, else the preset); A on any
other row (commit) leaves the previewed shape in place since the
staged icon_shape gets written to the VMU anyway. Removing a custom
icon also pushes the now-active preset shape so the LCD matches the
card's new state immediately.
- Screensaver: motion was per-frame (x += dx) with dt ignored, so when
the host frame rate climbed (e.g. Flycast without throttle) the logo
flew across the screen. Switch to float position + pixel/sec velocity
driven by dt in tick(), and convert the idle threshold to seconds.
The original 2 px/frame at 60fps becomes a constant 120 px/s.
- VMU options label: "Custom BIOS color:" -> "VMU Color:" with the value
column still aligned to "Real Mode (3D BIOS):".1 parent 0658c10 commit 58d3e6c
2 files changed
Lines changed: 72 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
582 | 602 | | |
583 | 603 | | |
584 | 604 | | |
| |||
753 | 773 | | |
754 | 774 | | |
755 | 775 | | |
756 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
757 | 783 | | |
758 | 784 | | |
759 | 785 | | |
| |||
781 | 807 | | |
782 | 808 | | |
783 | 809 | | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
784 | 815 | | |
785 | 816 | | |
786 | 817 | | |
| |||
834 | 865 | | |
835 | 866 | | |
836 | 867 | | |
| 868 | + | |
| 869 | + | |
837 | 870 | | |
838 | 871 | | |
839 | 872 | | |
| |||
1060 | 1093 | | |
1061 | 1094 | | |
1062 | 1095 | | |
1063 | | - | |
| 1096 | + | |
1064 | 1097 | | |
1065 | 1098 | | |
1066 | 1099 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
52 | | - | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
119 | | - | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
125 | | - | |
| 130 | + | |
126 | 131 | | |
127 | 132 | | |
128 | | - | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
132 | | - | |
133 | | - | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
136 | 155 | | |
137 | 156 | | |
138 | 157 | | |
139 | 158 | | |
140 | 159 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 160 | + | |
153 | 161 | | |
0 commit comments