Skip to content

Commit

Permalink
Merge pull request #403 from ogamespec/main
Browse files Browse the repository at this point in the history
Increased reset capacitor latency (NESBoard)
  • Loading branch information
ogamespec committed May 13, 2023
2 parents 781b1c5 + 02c3550 commit 277a856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Breaknes/BreaksCore/CoreApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#if defined(_WIN32) && !defined(BREAKS_CORE_STATIC)
#if defined(_WINDOWS) && !defined(BREAKS_CORE_STATIC)
#define DLL_EXPORT __declspec(dllexport)
#else
#define DLL_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion Breaknes/BreaksCore/NESBoard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ namespace Breaknes
// The real board has a capacitor that controls the reset and also the CIC interferes with it, but we simplify all this.
// Discussion here: https://forums.nesdev.org/viewtopic.php?t=19792 (nice phenomenon btw)

resetHalfClkCounter_CPU = 640000;
resetHalfClkCounter_CPU = 6400000;
resetHalfClkCounter_PPU = 64;
}

Expand Down

0 comments on commit 277a856

Please sign in to comment.