Fixed several small bugs; among other things, the emulator now compiles without warnings when using DEBUG=y as well.

This commit is contained in:
OBattler
2017-08-23 17:44:57 +02:00
parent 963459a9ef
commit 2da64b5f55
21 changed files with 53 additions and 54 deletions

View File

@@ -248,7 +248,7 @@ void loadnvr(void)
{
nvrram[RTC_SECONDS] = nvrram[RTC_MINUTES] = nvrram[RTC_HOURS] = 0;
nvrram[RTC_DOM] = nvrram[RTC_MONTH] = 1;
nvrram[RTC_YEAR] = BCD(80);
nvrram[RTC_YEAR] = (char) BCD(80);
nvrram[RTC_CENTURY] = BCD(19);
nvrram[RTC_REGB] = RTC_2412;
}