Skip to content

Commit 463d8b1

Browse files
authored
sokol branch 258 tile esc key mouse flicker fix (#2849)
1 parent 35bc7f7 commit 463d8b1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/core/core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ void tic_api_reset(tic_mem* memory)
358358
resetVbank(memory);
359359
}
360360

361+
memory->ram->vram.vars.cursor.sprite = tic_cursor_arrow;
362+
memory->ram->vram.vars.cursor.system = true;
361363
memory->ram->input.mouse.relative = 0;
362364

363365
soundClear(memory);

src/studio/studio.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,9 +2269,6 @@ static void processMouseStates(Studio* studio)
22692269

22702270
tic_mem* tic = studio->tic;
22712271

2272-
tic->ram->vram.vars.cursor.sprite = tic_cursor_arrow;
2273-
tic->ram->vram.vars.cursor.system = true;
2274-
22752272
for(s32 i = 0; i < COUNT_OF(studio->mouse.state); i++)
22762273
{
22772274
MouseState* state = &studio->mouse.state[i];

0 commit comments

Comments
 (0)