make rule for simpler citra testing (#110)

disables the 2 disruptive parts
This commit is contained in:
LiquidFenrir
2017-12-09 06:57:48 +01:00
committed by GitHub
parent b72f266e40
commit cb88c7e2dc
3 changed files with 10 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ static void draw_base_interface(void)
pp2d_draw_text(28, 1, 0.6, 0.6, COLOR_WHITE, (tm.tm_sec % 2 == 1) ? ":" : " ");
pp2d_draw_textf(34, 2, 0.6, 0.6, COLOR_WHITE, "%.2i", tm.tm_min);
#ifndef CITRA_MODE
u8 battery_charging = 0;
PTMU_GetBatteryChargeState(&battery_charging);
u8 battery_status = 1;
@@ -85,6 +86,7 @@ static void draw_base_interface(void)
if(battery_charging)
pp2d_draw_texture(TEXTURE_BATTERY_CHARGE, 357, 2);
#endif
pp2d_draw_on(GFX_BOTTOM, GFX_LEFT);
pp2d_draw_rectangle(0, 0, 320, 24, COLOR_ACCENT);

View File

@@ -140,11 +140,13 @@ int main(void)
while(aptMainLoop())
{
#ifndef CITRA_MODE
if(R_FAILED(archive_result) && current_mode == MODE_THEMES)
{
throw_error("Theme extdata does not exist!\nSet a default theme from the home menu.", ERROR_LEVEL_ERROR);
break;
}
#endif
hidScanInput();
u32 kDown = hidKeysDown();