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 <bas@xtr.dev>
This commit is contained in:
bvdaakster
2023-07-14 09:41:11 +02:00
committed by GitHub
parent c79e8ecfee
commit 9dc89b1a49

View File

@@ -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();