From fb463f9bc2e6545bd5d032831cda13ead3c921d3 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Thu, 31 Oct 2024 15:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MAME.Unity/Assets/Script/UMAME/UMAME.cs | 2 +- MAME.Unity/Assets/Script/UMAME/UniInterface/KeyCodeCore.cs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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