Update mednafen cores to 1.27.1 (#2831)

This commit is contained in:
nattthebear 2021-07-03 10:01:04 -04:00 committed by GitHub
parent 01c3b14495
commit 9488e19d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 17 additions and 12 deletions

1
.gitignore vendored
View File

@ -16,6 +16,7 @@
/Assets/dll/*.lib
/Assets/dll/*.iobj
/Assets/dll/*.ipdb
/Assets/dll/*.wbx
*.ilk
*.il

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -9,7 +9,7 @@ using BizHawk.Emulation.Cores.Waterbox;
namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
{
[PortedCore(CoreNames.HyperNyma, "Mednafen Team", "1.26.1", "https://mednafen.github.io/releases/")]
[PortedCore(CoreNames.HyperNyma, "Mednafen Team", "1.27.1", "https://mednafen.github.io/releases/")]
public class HyperNyma : NymaCore, IRegionable, IPceGpuView
{
private readonly LibHyperNyma _hyperNyma;

View File

@ -11,7 +11,7 @@ using BizHawk.Emulation.DiscSystem;
namespace BizHawk.Emulation.Cores.Consoles.NEC.PCE
{
[PortedCore(CoreNames.TurboNyma, "Mednafen Team", "1.26.1", "https://mednafen.github.io/releases/")]
[PortedCore(CoreNames.TurboNyma, "Mednafen Team", "1.27.1", "https://mednafen.github.io/releases/")]
public class TurboNyma : NymaCore, IRegionable, IPceGpuView
{
private readonly LibTurboNyma _turboNyma;

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
namespace BizHawk.Emulation.Cores.Consoles.NEC.PCFX
{
[PortedCore(CoreNames.TST, "Mednafen Team", "1.26.1", "https://mednafen.github.io/releases/")]
[PortedCore(CoreNames.TST, "Mednafen Team", "1.27.1", "https://mednafen.github.io/releases/")]
public class Tst : NymaCore
{
[CoreConstructor("PCFX")]

View File

@ -4,7 +4,7 @@ using BizHawk.Emulation.Cores.Waterbox;
namespace BizHawk.Emulation.Cores.Consoles.Nintendo.Faust
{
[PortedCore(CoreNames.Faust, "Mednafen Team", "1.26.1", "https://mednafen.github.io/releases/")]
[PortedCore(CoreNames.Faust, "Mednafen Team", "1.27.1", "https://mednafen.github.io/releases/")]
public class Faust : NymaCore, IRegionable
{
[CoreConstructor("SNES")]

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
namespace BizHawk.Emulation.Cores.Consoles.SNK
{
[PortedCore(CoreNames.NeoPop, "Thomas Klausner, Mednafen Team", "1.26.1", "https://mednafen.github.io/releases/")]
[PortedCore(CoreNames.NeoPop, "Thomas Klausner, Mednafen Team", "1.27.1", "https://mednafen.github.io/releases/")]
public class NeoGeoPort : NymaCore,
ISaveRam // NGP provides its own saveram interface
{

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
namespace BizHawk.Emulation.Cores.Consoles.Sega.Saturn
{
[PortedCore(CoreNames.Saturnus, "Mednafen Team", "1.26.1", "https://mednafen.github.io/releases/")]
[PortedCore(CoreNames.Saturnus, "Mednafen Team", "1.27.1", "https://mednafen.github.io/releases/")]
public class Saturnus : NymaCore, IRegionable
{
[CoreConstructor("SAT")]

View File

@ -237,9 +237,13 @@ namespace Mednafen
namespace Time
{
void Time_Init(void)
void Time_Init()
{}
int64 EpochTime(void)
int64 EpochTime()
{
return FrontendTime;
}
int64 MonoUS()
{
return FrontendTime;
}

View File

@ -41,7 +41,7 @@ static void Setup()
samples = (int16_t*)alloc_invisible(22050 * 2 * sizeof(*samples));
Surf = new MDFN_Surface(
pixels, Game->fb_width, Game->fb_height, Game->fb_width,
MDFN_PixelFormat(MDFN_COLORSPACE_RGB, 16, 8, 0, 24)
MDFN_PixelFormat(MDFN_COLORSPACE_RGB, 4, 16, 8, 0, 24)
);
EES = new EmulateSpecStruct();
EES->surface = Surf;

@ -1 +1 @@
Subproject commit d4c49787fefc2ebccf4862591fb03413d621fa7b
Subproject commit da0946da80e00fae0f1d2d086d67f64df6a7e3e0

View File

@ -9,7 +9,7 @@
#include "mednafen/src/hw_misc/arcade_card/arcade_card.h"
#include "mednafen/src/pce_fast/huc6280.h"
using namespace PCE_Fast;
using namespace MDFN_IEN_PCE_FAST;
extern Mednafen::MDFNGI EmulatedPCE_Fast;
@ -45,7 +45,7 @@ static void Access##N(uint8_t* buffer, int64_t address, int64_t count, bool writ
}\
}
namespace PCE_Fast
namespace MDFN_IEN_PCE_FAST
{
extern ArcadeCard* arcade_card;
// extern VCE* vce;