mirror of
https://github.com/0ldsk00l/nestopia.git
synced 2025-04-02 10:31:51 -04:00
Revert "Merged shalma's fix for mapper 79 (Puzzle (Unl))"
This reverts commit 67764c4ed8
.
This commit is contained in:
parent
87a66d1e08
commit
473302530d
1 changed files with 5 additions and 10 deletions
|
@ -49,9 +49,8 @@ namespace Nes
|
|||
|
||||
void Nina06::SubReset(const bool hard)
|
||||
{
|
||||
// FCEUltra
|
||||
Map( 0x4020U, 0x5FFFU, &Nina06::Poke_4100 );
|
||||
Map( 0x8000U, 0xFFFFU, &Nina06::Poke_4100 );
|
||||
for (uint i=0x4100; i < 0x6000; i += 0x200)
|
||||
Map( i+0x00, i+0xFF, &Nina06::Poke_4100 );
|
||||
|
||||
if (hard)
|
||||
prg.SwapBank<SIZE_32K,0x0000>(0);
|
||||
|
@ -61,15 +60,11 @@ namespace Nes
|
|||
#pragma optimize("", on)
|
||||
#endif
|
||||
|
||||
NES_POKE_AD(Nina06,4100)
|
||||
NES_POKE_D(Nina06,4100)
|
||||
{
|
||||
ppu.Update();
|
||||
|
||||
// FCEUltra
|
||||
if (address < 0x8000 && (address ^ 0x4100) == 0)
|
||||
prg.SwapBank<SIZE_32K,0x0000>((data >> 3) & 1);
|
||||
|
||||
chr.SwapBank<SIZE_8K,0x0000>(data);
|
||||
chr.SwapBank<SIZE_8K,0x0000>( data );
|
||||
prg.SwapBank<SIZE_32K,0x0000>( data >> 3 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue