mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-12-03 19:33:33 +01:00
VMManager: Support playing back GS dumps
This commit is contained in:
1 parent
4d85d916b7
commit
4331ae1925
13 files changed
+482
-15
No files matched your search
+11
-1
@@ -49,6 +49,10 @@ BIOS
|
||||
|
||||
#include "common/PageFaultSource.h"
|
||||
|
||||
#ifdef PCSX2_CORE
|
||||
#include "GSDumpReplayer.h"
|
||||
#endif
|
||||
|
||||
#ifdef ENABLECACHE
|
||||
#include "Cache.h"
|
||||
#endif
|
||||
@@ -850,7 +854,13 @@ void eeMemoryReserve::Reset()
|
||||
vtlb_VMap(0x00000000,0x00000000,0x20000000);
|
||||
vtlb_VMapUnmap(0x20000000,0x60000000);
|
||||
|
||||
if (!LoadBIOS())
|
||||
#ifdef PCSX2_CORE
|
||||
const bool needs_bios = !GSDumpReplayer::IsReplayingDump();
|
||||
#else
|
||||
constexpr bool needs_bios = true;
|
||||
#endif
|
||||
|
||||
if (needs_bios && !LoadBIOS())
|
||||
pxFailRel("Failed to load BIOS");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user