Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to build mgba standlaone for wii ?
#2
now I know howto build it.
为了修改音频由48khz为32khz
如下:
apt install cmake
下载devkitPPC并解压
wget https://sourceforge.net/projects/devkitp...2/download

安装libogc到devkitPPC
git clone https://github.com/mgba-emu/libogc
export DEVKITPRO=/home/toor/devkitPPC
make
make install

安装libfat,注意要修改其中的nds、等,删除它们
git clone https://github.com/devkitPro/libfat.git
export DEVKITPRO=/home/toor/devkitPPC
make
cp libogc/lib/wii/libfat.a /home/toor/devkitPPC/libogc/lib/wii/ -av

编译mgba,如果缺少头文件,那么从上面的libogc复制到devkit中
git clone https://github.com/mgba-emu/mgba.git
cd mgba
mkdir wii && cd wii
#然后修改源码后
export DEVKITPPC=/home/toor/devkitPPC
export DEVKITPRO=/home/toor/devkitPPC
cmake .. -DCMAKE_TOOLCHAIN_FILE=/root/mgba/src/platform/wii/CMakeToolchain.txt -G "Unix Makefiles"
make
Reply



Messages In This Thread
RE: how to build mgba standlaone for wii ? - by yoyoliyang - 04-08-2016, 07:41 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.