silence warning, add credit to readme, bump version for release
This commit is contained in:
11
README.md
11
README.md
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
A homebrew menu for the switch.
|
A homebrew menu for the switch.
|
||||||
|
|
||||||
It was built for my usage, as such, features that may seem out of place are included because i found them useful.
|
|
||||||
|
|
||||||
[See the gbatemp thread for more details / discussion](https://gbatemp.net/threads/sphaira-hbmenu-replacement.664523/).
|
[See the gbatemp thread for more details / discussion](https://gbatemp.net/threads/sphaira-hbmenu-replacement.664523/).
|
||||||
|
|
||||||
## showcase
|
## showcase
|
||||||
@@ -26,6 +24,14 @@ please include:
|
|||||||
- FW version
|
- FW version
|
||||||
- The bug itself and how to reproduce it
|
- The bug itself and how to reproduce it
|
||||||
|
|
||||||
|
## ftp
|
||||||
|
|
||||||
|
ftp can be enabled via the network menu and listens on port 5000, no username or password is required.
|
||||||
|
|
||||||
|
## mtp
|
||||||
|
|
||||||
|
mtp can be enabled via the network menu.
|
||||||
|
|
||||||
## file assoc
|
## file assoc
|
||||||
|
|
||||||
sphaira has file assoc support. lets say your app supports loading .png files, then you could write an assoc file, then when using the file browser, clicking on a .png file will launch your app along with the .png file as argv[1]. This was primarly added for rom loading support for emulators / frontends such as retroarch, melonds, mgba etc.
|
sphaira has file assoc support. lets say your app supports loading .png files, then you could write an assoc file, then when using the file browser, clicking on a .png file will launch your app along with the .png file as argv[1]. This was primarly added for rom loading support for emulators / frontends such as retroarch, melonds, mgba etc.
|
||||||
@@ -52,4 +58,5 @@ see `assets/romfs/assoc/` for more examples of file assoc entries
|
|||||||
- minIni
|
- minIni
|
||||||
- gbatemp
|
- gbatemp
|
||||||
- hb-appstore
|
- hb-appstore
|
||||||
|
- haze
|
||||||
- everyone who has contributed to this project!
|
- everyone who has contributed to this project!
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
|
||||||
set(sphaira_VERSION 0.4.1)
|
set(sphaira_VERSION 0.5.0)
|
||||||
|
|
||||||
project(sphaira
|
project(sphaira
|
||||||
VERSION ${sphaira_VERSION}
|
VERSION ${sphaira_VERSION}
|
||||||
|
|||||||
@@ -203,7 +203,11 @@ int ftp_vfs_write(struct FtpVfsFile* f, const void* buf, size_t size) {
|
|||||||
return vfs_fs_set_errno(rc);
|
return vfs_fs_set_errno(rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wpointer-arith"
|
||||||
buf += sz;
|
buf += sz;
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
size -= sz;
|
size -= sz;
|
||||||
f->off += f->buf_off;
|
f->off += f->buf_off;
|
||||||
f->buf_off = 0;
|
f->buf_off = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user