Skip to content

Commit

Permalink
Clean up/Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
pocomane committed Apr 30, 2021
1 parent 782843a commit 7236e8f
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 124 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ following environment variables:
- `MBC_CUSTOM_CORE` is the fixed suffix of the path of the core file, e.g.
`MBC_CUSTOM_CORE=/media/fat/_Console/NES_`

- `MBC_CUSTOM_ROM_PATH` is the path of the default rom
directory, e.g. `MBC_CUSTOM_ROM_PATH=/media/fat/games/NES`
- `MBC_CUSTOM_FOLDER` is the name of the folders that are related to the system,
e.g. `MBC_CUSTOM_ROM_PATH=NES`

- `MBC_CUSTOM_ROM_EXT` is the extension of the rom files, e.g.
`MBC_CUSTOM_ROM_EXT=nes`
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ fi

echo "building..."
cd build
arm-linux-musleabihf-gcc -std=c99 -DUSE_MOUNT_POINTS -D_XOPEN_SOURCE=700 -static -O2 -o mbc_mnt ../mbc.c ||die
arm-linux-musleabihf-gcc -std=c99 -Wall -DUSE_MOUNT_POINTS -D_XOPEN_SOURCE=700 -static -O2 -o mbc_mnt ../mbc.c ||die
arm-linux-musleabihf-strip mbc_mnt ||die
arm-linux-musleabihf-gcc -std=c99 -D_XOPEN_SOURCE=700 -static -O2 -o mbc ../mbc.c ||die
arm-linux-musleabihf-gcc -std=c99 -Wall -D_XOPEN_SOURCE=700 -static -O2 -o mbc ../mbc.c ||die
arm-linux-musleabihf-strip mbc ||die
mkdir -p hook/expose ||die
cd hook/expose ||die
Expand Down
Loading

0 comments on commit 7236e8f

Please sign in to comment.