mirror of
https://github.com/cellos51/balatro-gba.git
synced 2026-09-10 09:56:11 -05:00
Broken but compiling
You need to check the diff and see where the mistake is for this commit.
This commit is contained in:
@@ -27,3 +27,8 @@ void* stack_pop(Stack* stack)
|
||||
{
|
||||
return (stack->top < 0) ? NULL : stack->data_array[stack->top--];
|
||||
}
|
||||
|
||||
void* stack_at(Stack* stack, unsigned int idx)
|
||||
{
|
||||
return (idx <= stack->top) ? stack->data_array[idx] : NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user