Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

TI-84 CE: vblank stays a call, for the emulator's frame count

Mason3632e1a5c7fc1f5
diff --git a/platform/ti84ce/np_ce.c b/platform/ti84ce/np_ce.c
index 950ee049..fda0f3f3 100644
--- a/platform/ti84ce/np_ce.c
+++ b/platform/ti84ce/np_ce.c
@@ -60,7 +60,7 @@ void eadk_display_pull_rect(eadk_rect_t r, eadk_color_t *px) {
}
}
/* the LCD shows its memory as it is drawn (as the NumWorks's does): no wait, every frame counts on the CE */
-bool eadk_display_wait_for_vblank(void) { return true; }
+__attribute__((noinline)) bool eadk_display_wait_for_vblank(void) { return true; } /* (kept: tools/ce_emu counts frames by it) */
/* the NumWorks keys on the CE keypad: (group, bit) for each. 2nd is OK, next to the arrows like the NumWorks's,
* and enter is EXE, at the bottom right like it */