aboutsummaryrefslogtreecommitdiff
path: root/Source/System.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/System.c')
-rw-r--r--Source/System.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/System.c b/Source/System.c
index d17a704..5295e46 100644
--- a/Source/System.c
+++ b/Source/System.c
@@ -234,7 +234,7 @@ bool SystemRefreshNeeded(void)
* *******************************************************************/
void ISR_SystemDefaultVBlank(void)
{
- if (System1SecondTick() != false)
+ if (System1SecondTick())
{
fps = temp_fps;
temp_fps = 0;
@@ -454,7 +454,7 @@ void SystemRunTimers(void)
* *******************************************************************************/
void SystemCheckTimer(bool* timer, uint64_t* last_timer, uint8_t step)
{
- if (*timer != false)
+ if (*timer)
{
*timer = false;
}
@@ -489,7 +489,7 @@ bool SystemLoadFileToBuffer(const char* fname, uint8_t* buffer, uint32_t szBuffe
int32_t size = 0;
// Wait for possible previous operation from the GPU before entering this section.
- while ( (SystemIsBusy() != false) || (GfxIsGPUBusy() != false) );
+ while ( (SystemIsBusy()) || (GfxIsGPUBusy()) );
SystemDisableRCnt2Interrupt();
@@ -1127,7 +1127,7 @@ void SystemDevMenu(void)
DEVMENU_ROOTCNT2_TEXT_Y = DEVMENU_PAD2_RAW_DATA_TEXT_Y + DEVMENU_TEXT_GAP,
};
- if (devmenu_flag != false)
+ if (devmenu_flag)
{
GsRectangle devMenuBg = { .x = DEVMENU_BG_X,
.y = DEVMENU_BG_Y,