From 9dc89b1a497352b4dbf91520f2571b7022f09e94 Mon Sep 17 00:00:00 2001 From: bvdaakster <30904649+bvdaakster@users.noreply.github.com> Date: Fri, 14 Jul 2023 09:41:11 +0200 Subject: [PATCH] Fix htmlviewer sample (#145) * Fix htmlviewer sample * Uses PSP_HEAP_THRESHOLD_SIZE_KB macro instead of defining a fixed heap size * Revert to original htmlviewer sample and apply minimal fixes only --------- Co-authored-by: Bas van den Aakster --- src/samples/utility/htmlviewer/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/samples/utility/htmlviewer/main.c b/src/samples/utility/htmlviewer/main.c index 2ea09476..4f2343e0 100644 --- a/src/samples/utility/htmlviewer/main.c +++ b/src/samples/utility/htmlviewer/main.c @@ -21,6 +21,7 @@ PSP_MODULE_INFO("HtmlViewer", PSP_MODULE_USER, 1, 1); PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER); +PSP_HEAP_THRESHOLD_SIZE_KB(0x8000); void throwError(int milisecs, char *fmt, ...) { @@ -272,7 +273,7 @@ int updateHtmlViewer() int main(int argc, char *argv[]) { - char url[] = "http://www.ps2dev.org/"; + char url[] = "http://hitmen.c02.at/files/yapspd/"; setupGu(); netInit();