diff --git a/MAME.Unity/Assets/Script/UMAME/UMAME.cs b/MAME.Unity/Assets/Script/UMAME/UMAME.cs index 3c661c5..dea0252 100644 --- a/MAME.Unity/Assets/Script/UMAME/UMAME.cs +++ b/MAME.Unity/Assets/Script/UMAME/UMAME.cs @@ -46,7 +46,7 @@ public class UMAME : MonoBehaviour #elif UNITY_ANDROID public static string EmuDataPath => Application.persistentDataPath; #elif UNITY_PSP2 - public static string EmuDataPath => Application.dataPath; + public static string EmuDataPath => "ux0:data/MAME.Unity"; #else public static string EmuDataPath => Application.persistentDataPath; #endif diff --git a/MAME.Unity/Assets/Script/UMAME/UniInterface/KeyCodeCore.cs b/MAME.Unity/Assets/Script/UMAME/UniInterface/KeyCodeCore.cs index 95e66bb..de1ce28 100644 --- a/MAME.Unity/Assets/Script/UMAME/UniInterface/KeyCodeCore.cs +++ b/MAME.Unity/Assets/Script/UMAME/UniInterface/KeyCodeCore.cs @@ -1,9 +1,7 @@ -using AxiReplay; -using MAME.Core; +using MAME.Core; using System; using System.Collections.Generic; using System.Linq; -using System.Runtime.InteropServices.ComTypes; using UnityEngine; public class KeyCodeCore : IKeyboard