mirror of https://github.com/Washi1337/Emux.git
Merge branch 'master'
This commit is contained in:
commit
728386a728
|
@ -1,7 +1,8 @@
|
|||
using System.Collections;
|
||||
|
||||
namespace Emux.GameBoy.Cartridge
|
||||
namespace Emux.GameBoy.Cartridge
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides a collection of valid (but not necessarily supported) cartridge types.
|
||||
/// </summary>
|
||||
public enum CartridgeType : byte
|
||||
{
|
||||
RomOnly = 0x00,
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
namespace Emux.GameBoy.Cpu
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides valid interrupt flags used by the interrupt registers IF and IE.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum InterruptFlags : byte
|
||||
{
|
||||
|
|
|
@ -258,7 +258,7 @@ namespace Emux.GameBoy.Graphics
|
|||
{
|
||||
_modeClock -= HBlankCycles;
|
||||
LY++;
|
||||
if (LY >= FrameHeight - 1)
|
||||
if (LY == FrameHeight - 1)
|
||||
{
|
||||
currentMode = LcdStatusFlags.VBlankMode;
|
||||
VideoOutput.RenderFrame(_frameBuffer);
|
||||
|
|
Loading…
Reference in New Issue