From 78cf06a5a936d7db6d8b07780ca5caa5bec1e8a7 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Mon, 29 Apr 2019 08:17:07 -0400 Subject: [PATCH] Add missing item to CHANGELOG --- CHANGELOG.md | 1 + GRRLIB/GRRLIB/GRRLIB_bmf.c | 2 +- GRRLIB/GRRLIB/GRRLIB_snapshot.c | 10 +++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1261f7..8724855 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. - Removed libpng, zlib, libfreetype and libjpeg from project. These libraries should now be installed with pacman. - GRRLIB and pngu are now installed into the porlibs folder. - Removed uint declaration. u32 should be used instead. +- The GRRLIB_CreateEmptyTexture function is not inline anymore ## [4.3.2] - 2012-08-12 - libpng was updated to version 1.5.12 diff --git a/GRRLIB/GRRLIB/GRRLIB_bmf.c b/GRRLIB/GRRLIB/GRRLIB_bmf.c index 9129d0e..e98034f 100644 --- a/GRRLIB/GRRLIB/GRRLIB_bmf.c +++ b/GRRLIB/GRRLIB/GRRLIB_bmf.c @@ -27,7 +27,7 @@ THE SOFTWARE. /** * Load a ByteMap font structure from a buffer. - * File format version 1.1 is used, more information could be found at http://bmf.wz.cz/bmf-format.htm + * File format version 1.1 is used, more information could be found at https://bmf.php5.cz/?page=format * @param my_bmf The ByteMap font buffer to load. * @return A GRRLIB_bytemapFont structure filled with BMF information. * @see GRRLIB_FreeBMF diff --git a/GRRLIB/GRRLIB/GRRLIB_snapshot.c b/GRRLIB/GRRLIB/GRRLIB_snapshot.c index e8a1ca7..5ac5715 100644 --- a/GRRLIB/GRRLIB/GRRLIB_snapshot.c +++ b/GRRLIB/GRRLIB/GRRLIB_snapshot.c @@ -1,5 +1,5 @@ /*------------------------------------------------------------------------------ -Copyright (c) 2009-2017 The GRRLIB Team +Copyright (c) 2009-2019 The GRRLIB Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -62,6 +62,10 @@ void GRRLIB_CompoStart (void) { void GRRLIB_CompoEnd(int posx, int posy, GRRLIB_texImg *tex) { GRRLIB_Screen2Texture(posx, posy, tex, GX_TRUE); - if (rmode->aa) GX_SetPixelFmt(GX_PF_RGB565_Z16, GX_ZC_LINEAR); - else GX_SetPixelFmt(GX_PF_RGB8_Z24 , GX_ZC_LINEAR); + if (rmode->aa) { + GX_SetPixelFmt(GX_PF_RGB565_Z16, GX_ZC_LINEAR); + } + else { + GX_SetPixelFmt(GX_PF_RGB8_Z24 , GX_ZC_LINEAR); + } }