Skip to content

Commit

Permalink
Merge pull request #99 from lesleyrs/fixes
Browse files Browse the repository at this point in the history
fix minifb error, add to gitignore, gb_colour_hash typo
  • Loading branch information
deltabeard committed May 29, 2024
2 parents ebcd90e + a7d06a3 commit 28d0390
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
*.o
*.a
*.exe
peanut-sdl
peanut-sdl*
peanut-debug
peanut-minifb
tags
build*/
bin*/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ returns 0 if the game does not use any save data.

This function runs the CPU until a full frame is rendered to the LCD.

#### gb_color_hash
#### gb_colour_hash

This function calculates a hash of the game title. This hash is calculated in
the same way as the Game Boy Color to add colour to Game Boy games.
Expand Down
2 changes: 1 addition & 1 deletion examples/mini_fb/peanut_minifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void gb_error(struct gb_s *gb, const enum gb_error_e gb_err, const uint16_t val)
struct priv_t *priv = gb->direct.priv;

fprintf(stderr, "Error %d occurred: %s at %04X\n. Exiting.\n",
gb_err, gb_err_str[gb_err], addr);
gb_err, gb_err_str[gb_err], val);

/* Free memory and then exit. */
free(priv->cart_ram);
Expand Down

0 comments on commit 28d0390

Please sign in to comment.