Repository navigation
Commit c0806af
committed
Movies play: answer the CPU ~MHz registry value, turn movies on by default
The game decodes VP6 itself. The first movie hung because the movie timer
(sub_006f625d) reads HKLM\...\CentralProcessor\0 "~MHz" and, without it,
calibrates RDTSC against QueryPerformanceCounter until two measurements agree.
QPC is our virtual clock and RDTSC real time, so they never agreed. Answering
3000 (rdtsc_shim's rate) skips the calibration; the logos, the PSA and the
opening movie play with sound on the original and HD engines.
The app and run.sh now default to NOMOVIES=0; tools/check.sh keeps
NOMOVIES=1 for repeatable runs.1 parent b4e7abf commit c0806af
3 files changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
620 | 626 | | |
621 | 627 | | |
622 | 628 | | |
| |||
0 commit comments