X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2FMisc.c;h=8d36d634afe70c53c001467f9cc919b1499d21da;hb=1c88b865ceb1e1801bcf20010088fd62cdf2cc06;hp=905e919504033953a3418f89141808cd83cbd006;hpb=fa1e5e2948e9b06dec3353081081173f7ae4d742;p=picodrive.git diff --git a/Pico/cd/Misc.c b/Pico/cd/Misc.c index 905e919..8d36d63 100644 --- a/Pico/cd/Misc.c +++ b/Pico/cd/Misc.c @@ -1,3 +1,5 @@ +// Some misc stuff +// (c) Copyright 2007, Grazvydas "notaz" Ignotas unsigned char formatted_bram[4*0x10] = @@ -21,6 +23,7 @@ unsigned char formatted_bram[4*0x10] = // 128K | bit ] | bank0 | // 256K | unused | bank1 | +#ifndef _ASM_MISC_C void wram_2M_to_1M(unsigned char *m) { unsigned short *m1M_b0, *m1M_b1; @@ -53,4 +56,5 @@ void wram_1M_to_2M(unsigned char *m) *m2M++ = tmp; } } +#endif