mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-03-21 17:34:46 -05:00
Tune street: Fix profile name not displayed
This commit is contained in:
parent
ad677b4c2b
commit
bc93c8603e
|
|
@ -11,6 +11,8 @@ Plugin Version: **v2.0.0**
|
|||
- pop'n music Usagi to Neko to Shōnen no Yume
|
||||
- pop'n music peace
|
||||
|
||||
Important : require minimum Asphyxia Core **v1.31**
|
||||
|
||||
## Changelog
|
||||
|
||||
### 2.0.0
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@ export const getProfile = async (refid: string, name?: string) => {
|
|||
const params = await utils.readParams(refid, version);
|
||||
|
||||
let binary_profile = Array(2200).fill(0);
|
||||
let name_binary = profile.name.substr(0, 12);
|
||||
for (let i = 0; i < name_binary.length; i++) {
|
||||
binary_profile[i] = name_binary.charAt(i);
|
||||
let name_binary = U.EncodeString(profile.name, 'shift_jis');
|
||||
for (let i = 0; i < name_binary.length || i < 12; i++) {
|
||||
binary_profile[i] = name_binary[i];
|
||||
}
|
||||
|
||||
binary_profile[13] = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user