X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fcarthw%2Fsvp%2Fcompiler.c;h=758d9261b7d699b56e4ea266d5c2b289c6d299ad;hb=6ce90725a13ba6e39f3fef69783d09610200b225;hp=e7d5b9e87690a648dea1081e02aa6cdbcadaf022;hpb=cff531af94bd9c9c89ae162e80f48ddc26a4e504;p=picodrive.git diff --git a/pico/carthw/svp/compiler.c b/pico/carthw/svp/compiler.c index e7d5b9e..758d926 100644 --- a/pico/carthw/svp/compiler.c +++ b/pico/carthw/svp/compiler.c @@ -31,7 +31,7 @@ extern ssp1601_t *ssp; #define SSP_FLAG_Z (1<<0xd) #define SSP_FLAG_N (1<<0xf) -#ifndef ARM +#ifndef __arm__ //#define DUMP_BLOCK 0x0c9a void ssp_drc_next(void){} void ssp_drc_next_patch(void){} @@ -1794,7 +1794,7 @@ void *ssp_translate_block(int pc) exit(0); #endif -#ifdef ARM +#ifdef __arm__ cache_flush_d_inval_i(tcache, tcache_ptr); #endif @@ -1839,7 +1839,7 @@ int ssp1601_dyn_startup(void) PicoLoadStateHook = ssp1601_state_load; n_in_ops = 0; -#ifdef ARM +#ifdef __arm__ // hle'd blocks ssp_block_table[0x800/2] = (void *) ssp_hle_800; ssp_block_table[0x902/2] = (void *) ssp_hle_902; @@ -1879,7 +1879,7 @@ void ssp1601_dyn_run(int cycles) #ifdef DUMP_BLOCK ssp_translate_block(DUMP_BLOCK >> 1); #endif -#ifdef ARM +#ifdef __arm__ ssp_drc_entry(cycles); #endif }