File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1414extern uint8 romdisk [];
1515KOS_INIT_FLAGS (INIT_IRQ | INIT_THD_PREEMPT );
1616#else
17+ # ifndef __NAOMI__
1718static void early_init (void ) {
1819 /*
1920 Older KallistiOS doesn't get back the Master after working with G1 ATA.
@@ -23,6 +24,7 @@ static void early_init(void) {
2324 g1_ata_select_device (G1_ATA_MASTER );
2425}
2526KOS_INIT_EARLY (early_init );
27+ # endif
2628KOS_INIT_FLAGS (INIT_DEFAULT );
2729#endif
2830
@@ -197,11 +199,15 @@ int main(int argc, char **argv) {
197199
198200 if (vid_check_cable () == CT_VGA ) {
199201 vid_set_mode (DM_640x480_VGA , PM_RGB565 );
200- } else if (flashrom_get_region_only () == FLASHROM_REGION_EUROPE ) {
202+ }
203+ #ifndef __NAOMI__
204+ else if (flashrom_get_region_only () == FLASHROM_REGION_EUROPE ) {
201205 vid_set_mode (DM_640x480_PAL_IL , PM_RGB565 );
202- } else {
206+ }
207+ else {
203208 vid_set_mode (DM_640x480_NTSC_IL , PM_RGB565 );
204209 }
210+ #endif
205211
206212#ifndef EMU
207213
You can’t perform that action at this time.
0 commit comments