d_msg_scrn_3select done (#2153)

* msg_scrn_3select done

* remove asm

* d_msg_scrn_jimaku done
This commit is contained in:
TakaRikka
2024-05-10 23:53:18 -07:00
committed by GitHub
parent 1718216dac
commit 41e19d2d31
49 changed files with 1149 additions and 4356 deletions
@@ -0,0 +1,16 @@
#ifndef STD_CMATH_H_
#define STD_CMATH_H_
#include "string.h"
namespace std {
inline size_t strlen(const char* str) {
return ::strlen(str);
}
inline char* strcpy(char* dest, const char* src) {
return ::strcpy(dest, src);
}
} // namespace std
#endif
@@ -4,9 +4,6 @@
#include "stddef.h"
#ifdef __cplusplus
// TODO: std namespace should be used for C++, but it breaks asm compatibility afaict.
// try to fix later
// namespace std {
extern "C" {
#endif
@@ -26,7 +23,6 @@ char* strcpy(char* dst, const char* src);
size_t strlen(const char* str);
#ifdef __cplusplus
// }
}
#endif