X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2F940ctl.c;h=d219d8a42b14e5124eb094c3d13370d9c6ad6e4e;hb=e31266dd116b6bea59ce3f2036feeb6725c45a72;hp=1c6e4caaafefaaf2cb4ccfdd1bd939a42200340a;hpb=bf3c44f4850c0804e0bf63964c1291b18549d996;p=libpicofe.git diff --git a/gp2x/940ctl.c b/gp2x/940ctl.c index 1c6e4ca..d219d8a 100644 --- a/gp2x/940ctl.c +++ b/gp2x/940ctl.c @@ -313,7 +313,7 @@ void YM2612Init_940(int baseclock, int rate) fp = fopen(binpath, "rb"); if(!fp) { - memset(gp2x_screen, 0, 320*240*2); + memset(g_screen_ptr, 0, 320*240*2); text_out16(10, 100, "failed to open required file:"); text_out16(10, 110, CODE940_FILE); gp2x_video_flip2();