FARID wrote:
Please someone fix Mapper 52 for Nestopia :
This diff (against
Nestopia UE) should be sufficient:
Code:
diff --git a/source/core/board/NstBoardBmcMarioParty7in1.cpp b/source/core/board/NstBoardBmcMarioParty7in1.cpp
index 821066a..4769b59 100644
--- a/source/core/board/NstBoardBmcMarioParty7in1.cpp
+++ b/source/core/board/NstBoardBmcMarioParty7in1.cpp
@@ -125,7 +125,7 @@ namespace Nes
chr.SwapBank<SIZE_1K>
(
address,
- (((exRegs[0] >> 3 & 0x4) | (exRegs[0] >> 1 & 0x2) | ((exRegs[0] >> 6) & (exRegs[0] >> 4) & 0x1)) << 7) |
+ (((exRegs[0] & 0x4) | (exRegs[0] >> 4 & 0x2) | ((exRegs[0] >> 6) & (exRegs[0] >> 4) & 0x1)) << 7) |
(bank & (((exRegs[0] & 0x40) << 1) ^ 0xFF))
);
}
But I haven't been able to test for lack of a properly-ordered copy of Mario 7-in-1.
Any commits to upstream should also invalidate the relevant hash in NstDatabase.xml and adding a new one.
Quote:
Oh, by the way, how can I compile the source code of Nestopia for windows?
It seems it is written in C++
MSVC / Visual Studio Express 2010?