Rename `GBHawk.Timer` to `GBHawk.GBTimer`

This commit is contained in:
YoshiRulz 2024-07-03 21:13:17 +10:00
parent 91c48117a3
commit 1be3531e7c
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
public LR35902 cpu;
public PPU ppu;
public Timer timer;
public readonly GBTimer timer;
public Audio audio;
public SerialPort serialport;
@ -147,7 +147,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
SetIntRegs = SetIntRegs
};
timer = new Timer();
timer = new();
audio = new Audio();
serialport = new SerialPort();

View File

@ -18,7 +18,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
// there is a coincident timer increment, there will be an additional increment along with this write.
// not sure it effects all models or of exact details, see test tac_set_timer_disabled.gbc
public class Timer
public sealed class GBTimer
{
public GBHawk Core { get; set; }