From 65157f77e3196050e04b93cce107ce1dc1d93808 Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 5 Aug 2015 20:29:35 -0400 Subject: [PATCH] PSX - implement IRegionable, and thus record the pal flag into movies property and properly report movie times --- BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs b/BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs index 9e91ac1953..bd2bca6ce0 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs @@ -32,7 +32,7 @@ namespace BizHawk.Emulation.Cores.Sony.PSX isPorted: true, isReleased: true )] - public unsafe class Octoshock : IEmulator, IVideoProvider, ISyncSoundProvider, ISaveRam, IStatable, IDriveLight, IInputPollable, ISettable, IDebuggable + public unsafe class Octoshock : IEmulator, IVideoProvider, ISyncSoundProvider, ISaveRam, IStatable, IDriveLight, IInputPollable, ISettable, IDebuggable, IRegionable { public string SystemId { get { return "PSX"; } } @@ -212,6 +212,8 @@ namespace BizHawk.Emulation.Cores.Sony.PSX List discInterfaces = new List(); DiscInterface currentDiscInterface; + public DisplayType Region { get { return SystemVidStandard == OctoshockDll.eVidStandard.PAL ? DisplayType.PAL : DisplayType.NTSC; } } + public OctoshockDll.eRegion SystemRegion { get; private set; } public OctoshockDll.eVidStandard SystemVidStandard { get; private set; } public System.Drawing.Size CurrentVideoSize { get; private set; }