[nostalgia/core/gba] Fix C++20 compatibility issues

This commit is contained in:
2021-01-21 00:24:02 -06:00
parent d58570d76b
commit 67cbe6ef7f
4 changed files with 51 additions and 38 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2016 - 2020 gary@drinkingtea.net
* Copyright 2016 - 2021 gary@drinkingtea.net
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -37,7 +37,7 @@ static void initTimer() {
REG_TIMER0 = TicksMs59ns;
REG_TIMER0CTL = 0b11000000;
// enable interrupt for timer0
REG_IE |= Int_timer0;
REG_IE = REG_IE | Int_timer0;
}
ox::Error init(Context *ctx) {