4 Star 7 Fork 2

Gitee 极速下载 / mGBA

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/mgba-emu/mgba
克隆/下载
PORTING.md 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
Jeffrey Pfau 提交于 2016-04-22 00:00 . All: Update README and PORTING

Porting

Porting is preferentially done upstream so as to avoid fragmenting the codebase into individually unmergeable forks. As such, precaution must be taken to keep changes separate enough to not interfere with other ports, while still maintaining the ability to add new port-specific code seamlessly.

Folders for each port should be under the src/platform folder, and make minimally invasive changes to the rest of the tree. If any changes are needed, try to make sure they are generic and have the ability to be ironed out in the future. For example, if a function doesn't work on a specific platform, maybe a way to make that function more portable should be added.

The general porting process involves branching master, making the needed changes, and, when the port is mature enough to not have major effects to other ports, merged into port/crucible. The crucible is used for mixing upcoming ports to make sure they aren't fragile when master merges into it every so often. At this time, the crucible hasn't yet been merged into master, but in the future this may occur regularly. Until then, if a port is to get merged into master, make sure the changes to each port occur on the port-specific branch before being merged into port/crucible.

Port-specific TODO

The following ports are considered incomplete and are thus on branches still. They may work, but should not be considered stable.

PSP (port/psp)

  • Add menu
  • Add audio
  • Thread support
  • Make it faster
    • MIPS dynarec
    • Hardware acceleration
C
1
https://gitee.com/mirrors/mgba.git
git@gitee.com:mirrors/mgba.git
mirrors
mgba
mGBA
master

搜索帮助