mgba/PORTING.md

42 lines
1.8 KiB
Markdown
Raw Normal View History

2015-06-18 09:30:28 +00:00
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.
2015-06-19 02:58:06 +00:00
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`.
2015-06-18 09:30:28 +00:00
Port-specific TODO
------------------
The ports are vaguely usable, but by no means should be considered stable.
2015-07-11 09:57:08 +00:00
### 3DS (port/3ds)
2015-06-18 09:30:28 +00:00
* Add menu
* Add audio
2015-06-19 02:58:06 +00:00
* Thread support testing
2015-06-18 09:30:28 +00:00
* Make it faster
* ARMv6 dynarec
* Hardware acceleration
2015-07-11 09:57:08 +00:00
### PSP (port/psp)
2015-06-18 09:30:28 +00:00
* Add menu
* Add audio
2015-06-19 02:58:06 +00:00
* Thread support
2015-06-18 09:30:28 +00:00
* Make it faster
* MIPS dynarec
* Hardware acceleration
2015-07-11 09:57:08 +00:00
### PS Vita (port/psp2)
* Add menu
2015-08-06 22:54:55 +00:00
* Fix audio
2015-07-11 09:57:08 +00:00
* Make it faster
* Threaded renderer shim
* Hardware acceleration
### Wii (port/wii)
2015-06-18 09:30:28 +00:00
* Add menu
2015-06-19 02:58:06 +00:00
* Thread support
* Clean up video detection