PC_BUILD can go now
This commit is contained in:
		
							parent
							
								
									19f05cf36a
								
							
						
					
					
						commit
						e33a56cd83
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -216,7 +216,7 @@ include Makefile.common
 | 
				
			||||||
 | 
					
 | 
				
			||||||
OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_ASM:.S=.o)
 | 
					OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_ASM:.S=.o)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DEFINES := -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline -DPC_BUILD -Wall -Werror=implicit-function-declaration
 | 
					DEFINES := -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline -Wall -Werror=implicit-function-declaration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(HAVE_DYNAREC), 1)
 | 
					ifeq ($(HAVE_DYNAREC), 1)
 | 
				
			||||||
DEFINES += -DHAVE_DYNAREC
 | 
					DEFINES += -DHAVE_DYNAREC
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3618,7 +3618,7 @@ void flush_translation_cache_ram(void)
 | 
				
			||||||
   flush_ram_count, reg[REG_PC], iwram_code_min, iwram_code_max,
 | 
					   flush_ram_count, reg[REG_PC], iwram_code_min, iwram_code_max,
 | 
				
			||||||
   ewram_code_min, ewram_code_max); */
 | 
					   ewram_code_min, ewram_code_max); */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef PC_BUILD
 | 
					#if defined(ARM_ARCH) || defined(MIPS_ARCH)
 | 
				
			||||||
  invalidate_icache_region(ram_translation_cache,
 | 
					  invalidate_icache_region(ram_translation_cache,
 | 
				
			||||||
   (ram_translation_ptr - ram_translation_cache) + 0x100);
 | 
					   (ram_translation_ptr - ram_translation_cache) + 0x100);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					@ -3675,7 +3675,7 @@ void flush_translation_cache_ram(void)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void flush_translation_cache_rom(void)
 | 
					void flush_translation_cache_rom(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
#ifndef PC_BUILD
 | 
					#if defined(ARM_ARCH) || defined(MIPS_ARCH)
 | 
				
			||||||
  invalidate_icache_region(rom_translation_cache,
 | 
					  invalidate_icache_region(rom_translation_cache,
 | 
				
			||||||
   rom_translation_ptr - rom_translation_cache + 0x100);
 | 
					   rom_translation_ptr - rom_translation_cache + 0x100);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					@ -3689,7 +3689,7 @@ void flush_translation_cache_rom(void)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void flush_translation_cache_bios(void)
 | 
					void flush_translation_cache_bios(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
#ifndef PC_BUILD
 | 
					#if defined(ARM_ARCH) || defined(MIPS_ARCH)
 | 
				
			||||||
  invalidate_icache_region(bios_translation_cache,
 | 
					  invalidate_icache_region(bios_translation_cache,
 | 
				
			||||||
   bios_translation_ptr - bios_translation_cache + 0x100);
 | 
					   bios_translation_ptr - bios_translation_cache + 0x100);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,6 +31,6 @@ SOURCES_ASM :=
 | 
				
			||||||
include $(CORE_DIR)/Makefile.common
 | 
					include $(CORE_DIR)/Makefile.common
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LOCAL_SRC_FILES := $(SOURCES_C) $(SOURCES_ASM)
 | 
					LOCAL_SRC_FILES := $(SOURCES_C) $(SOURCES_ASM)
 | 
				
			||||||
LOCAL_CFLAGS += -O2 -DHAVE_MMAP -DNDEBUG -DPC_BUILD -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS)
 | 
					LOCAL_CFLAGS += -O2 -DHAVE_MMAP -DNDEBUG -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
include $(BUILD_SHARED_LIBRARY)
 | 
					include $(BUILD_SHARED_LIBRARY)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue