mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2024-11-22 01:49:15 +01:00
Update to use the latest wut version
This commit is contained in:
parent
ca7d54bd22
commit
a0724c276b
14
Dockerfile
14
Dockerfile
@ -1,10 +1,10 @@
|
|||||||
FROM wiiuenv/devkitppc:20220507
|
FROM wiiuenv/devkitppc:20220724
|
||||||
|
|
||||||
COPY --from=wiiuenv/librpxloader:20220417 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/librpxloader:20220724 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/libfunctionpatcher:20220507 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/libfunctionpatcher:20220724 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/wiiumodulesystem:20220512 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/wiiumodulesystem:20220724 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/libwuhbutils:20220415 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/libwuhbutils:20220724 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/libcontentredirection:20220414 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/libcontentredirection:20220724 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/libromfs_wiiu:20220414 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/libromfs_wiiu:20220724 /artifacts $DEVKITPRO
|
||||||
|
|
||||||
WORKDIR project
|
WORKDIR project
|
||||||
|
@ -197,9 +197,7 @@ bool RL_LoadFromSDOnNextLaunch(const char *bundle_path) {
|
|||||||
int success = false;
|
int success = false;
|
||||||
int mcpFd = IOS_Open("/dev/mcp", (IOSOpenMode) 0);
|
int mcpFd = IOS_Open("/dev/mcp", (IOSOpenMode) 0);
|
||||||
if (mcpFd >= 0) {
|
if (mcpFd >= 0) {
|
||||||
int out = 0;
|
if (IOS_Ioctl(mcpFd, 100, &request, sizeof(request), nullptr, 0) == IOS_ERROR_OK) {
|
||||||
IOS_Ioctl(mcpFd, 100, &request, sizeof(request), &out, sizeof(out));
|
|
||||||
if (out > 0) {
|
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ std::unique_ptr<T> make_unique_nothrow(Args &&...args) noexcept(noexcept(T(std::
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
inline typename std::_MakeUniq<T>::__array make_unique_nothrow(size_t num) noexcept {
|
inline typename std::unique_ptr<T> make_unique_nothrow(size_t num) noexcept {
|
||||||
return std::unique_ptr<T>(new (std::nothrow) std::remove_extent_t<T>[num]());
|
return std::unique_ptr<T>(new (std::nothrow) std::remove_extent_t<T>[num]());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user