mirror of
https://github.com/wiiu-env/libwupsbackend.git
synced 2024-11-25 11:16:52 +01:00
Update Dockerfile to use latest wut version
This commit is contained in:
parent
ce0fdbc057
commit
7ac15de1c1
@ -1,6 +1,6 @@
|
|||||||
FROM wiiuenv/devkitppc:20220213
|
FROM wiiuenv/devkitppc:20220724
|
||||||
|
|
||||||
COPY --from=wiiuenv/wiiupluginsystem:20210924 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/wiiupluginsystem:20220724 /artifacts $DEVKITPRO
|
||||||
|
|
||||||
WORKDIR tmp_build
|
WORKDIR tmp_build
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
FROM wiiuenv/devkitppc:20220213
|
FROM wiiuenv/devkitppc:20220724
|
||||||
|
|
||||||
WORKDIR project
|
WORKDIR project
|
@ -27,7 +27,7 @@ PluginData::PluginData(uint32_t handle) {
|
|||||||
PluginData::~PluginData() {
|
PluginData::~PluginData() {
|
||||||
if (handle != 0) {
|
if (handle != 0) {
|
||||||
if (WUPSDeletePluginData(&handle, 1) != PLUGIN_BACKEND_API_ERROR_NONE) {
|
if (WUPSDeletePluginData(&handle, 1) != PLUGIN_BACKEND_API_ERROR_NONE) {
|
||||||
DEBUG_FUNCTION_LINE_ERR("### ERROR ###: Failed to delete plugin data");
|
DEBUG_FUNCTION_LINE_ERR("Failed to delete plugin data");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,8 +2,12 @@
|
|||||||
#include <coreinit/debug.h>
|
#include <coreinit/debug.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
#define __FILENAME_X__ (strrchr(__FILE__, '\\') ? strrchr(__FILE__, '\\') + 1 : __FILE__)
|
#define __FILENAME__ ({ \
|
||||||
#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILENAME_X__)
|
const char *filename = __FILE__; \
|
||||||
|
const char *pos = strrchr(filename, '/'); \
|
||||||
|
if (!pos) pos = strrchr(filename, '\\'); \
|
||||||
|
pos ? pos + 1 : filename; \
|
||||||
|
})
|
||||||
|
|
||||||
#define DEBUG_FUNCTION_LINE_ERR(FMT, ARGS...) \
|
#define DEBUG_FUNCTION_LINE_ERR(FMT, ARGS...) \
|
||||||
do { \
|
do { \
|
||||||
|
@ -7,7 +7,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