Commit Graph

  • cefd5b63ee Remove a lot of the GNU case range extensions instances twinaphex 2014-12-13 04:50:48 +01:00
  • c1375c871f Put ifdef around <sys/mman.h> include twinaphex 2014-12-13 01:20:10 +01:00
  • 320bf35a8c Get rid of unnecessary macros for sound_timer_queue functions - it is pretty apparent what this does on its face, and a macro is somewhat unnecessary for so few invocations twinaphex 2014-12-12 17:33:29 +01:00
  • 24eef7a3ff cpu_orig.c - restore to original - bigger codesize but faster twinaphex 2014-12-12 17:22:56 +01:00
  • d76dada07a Get rid of optimize_safe rule for cpu.c twinaphex 2014-12-12 17:01:18 +01:00
  • 9fcd576a97 Use cpu_orig.c in release builds for now - apparently grouping all these case ranges made fps slower, not faster. Keep working on cpu.c to attain a smaller interpreter core so we can eventually make this a lot more efficient twinaphex 2014-12-12 16:59:09 +01:00
  • 72573712d3 CPU interpreter - group more case ranges together twinaphex 2014-12-12 16:52:23 +01:00
  • 701e2bbf50 CPU interpreter - group THUMB cases 0x38 to 0x3F (SUB) together twinaphex 2014-12-12 06:48:20 +01:00
  • 4a6d527b1c Use thumb_opcode_val & 0x7 instead twinaphex 2014-12-12 06:45:20 +01:00
  • c1677498a5 CPU interpreter - group THUMB case range 0x30 to 0x37 (ADD) together twinaphex 2014-12-12 06:42:59 +01:00
  • 4a860b662e CPU interpreter - group THUMB cases 0x28 to 0x2F together twinaphex 2014-12-12 06:35:17 +01:00
  • ade2bed514 CPU interpreter - group Thumb opcode case ranges 0x20 - 0x27 together twinaphex 2014-12-12 06:31:16 +01:00
  • f9079ff9fb execute_arm_instruction and execute_thumb_instruction - throw them straight into execute_arm/execute_thumb functions twinaphex 2014-12-12 06:12:00 +01:00
  • 27a8be87d1 Make compiling in with the 32bit dynarec optional - also include a switch to hardforce this twinaphex 2014-12-12 03:03:55 +01:00
  • a3201b066d increase savestate size, was smaller than what was required for 64-bit builds. aliaspider 2014-12-12 02:54:41 +01:00
  • bedf50b36f Another 64bit fix - vertical_pixel_flip needs to be of type s32 twinaphex 2014-12-12 02:23:48 +01:00
  • e83651639f dma_transfer - change dest_ptr to type uintptr_t - fixes 64bit interpreter according to aliaspider twinaphex 2014-12-12 01:53:39 +01:00
  • c40748197f Create specialized macro for single_tile_map twinaphex 2014-12-12 01:49:49 +01:00
  • 522a2facb0 And another one - pt. 4 twinaphex 2014-12-12 01:41:57 +01:00
  • 2dea1673ff And another one - pt. 3 twinaphex 2014-12-12 01:39:08 +01:00
  • 8db28496c8 And another one - pt. 2 twinaphex 2014-12-12 01:36:49 +01:00
  • 80c974a80f Start making specialized functions of multiple_tile_map - pt. 1 twinaphex 2014-12-12 01:34:36 +01:00
  • c54cff8f70 Cut down a lot of duplicate code in tile_render functions twinaphex 2014-12-12 01:30:05 +01:00
  • bf17a15988 And there, done - tile_render is gone twinaphex 2014-12-12 01:20:52 +01:00
  • 65272c421b And another one pt. 5 twinaphex 2014-12-12 01:17:36 +01:00
  • f25f747233 And another one pt. 4 twinaphex 2014-12-12 01:15:13 +01:00
  • f19051b039 And another pt .3 twinaphex 2014-12-12 01:12:08 +01:00
  • f72fe7c554 And another one pt. 2 twinaphex 2014-12-12 01:08:27 +01:00
  • 76b4e3f2df And another one twinaphex 2014-12-12 01:05:32 +01:00
  • 5bcda4e05e Put proper comments in first twinaphex 2014-12-12 01:02:40 +01:00
  • f139b01562 De-macroize tile_render in render_scanline_text_transparent_normal twinaphex 2014-12-12 00:58:39 +01:00
  • ad472bf85f Demacro-ize tile_render in render_scanline_text_base_normal twinaphex 2014-12-12 00:51:51 +01:00
  • ee1a0377cf Unroll render_scanline_text_builder insanity twinaphex 2014-12-12 00:29:32 +01:00
  • a42f3c57ff Allow core to work without GET_PERF_INTERFACE. Alcaro 2014-12-11 23:21:07 +01:00
  • 4cfd459d5b Simplify tile_4bpp_draw_base_normal twinaphex 2014-12-11 22:41:29 +01:00
  • 853be8aea3 Remove unused RENDER_COLOR16_NORMAL ifdefs twinaphex 2014-12-11 21:38:35 +01:00
  • 1adb50de8c Fixup render_scanline_vram_setup_mode4 twinaphex 2014-12-11 20:51:48 +01:00
  • 8511266962 (video.c) Smal cleanups/micro-opts twinaphex 2014-12-11 20:50:03 +01:00
  • 36c98a7872 video.c - micro-opts twinaphex 2014-12-11 20:27:58 +01:00
  • 8d8bb64ef6 Put 'var' variable inside HAVE_DYNAREC ifdef for now to silence warning twinaphex 2014-12-11 19:47:36 +01:00
  • 657c7bee5c Create define ARM_ARCH_BLENDING_OPTS - so that we can optionally compile in the ARM ASM blend file twinaphex 2014-12-11 19:12:09 +01:00
  • 9ed950fd4e arm/video_blend.S - add another __MACH__ hack twinaphex 2014-12-11 19:05:18 +01:00
  • 8d7b204c2b (ARM ASM) Add __MACH__ hack to get iOS port linking for now twinaphex 2014-12-11 19:03:08 +01:00
  • 5b59ef3acc Reimplement cache invalidation code twinaphex 2014-12-11 18:47:48 +01:00
  • 97166d5cbd Remove warm, keep only fallback cache invalidation routine. Not available on iOS/Android, only probably there on OpenPandora. On top of that iOS 8+ deprecated the system() call, so would probably be becoming obsolete on that platform. twinaphex 2014-12-11 16:58:34 +01:00
  • d6c3c8dee6 (iOS) Compatibility patches pt. 1 twinaphex 2014-12-11 16:36:30 +01:00
  • 89feda2e3e (ARM ASM) Use .globl instead of .global twinaphex 2014-12-11 04:57:55 +01:00
  • 9a468a0f3b Demacro-ize dma_transfer_expand twinaphex 2014-12-11 03:38:57 +01:00
  • 60e670f35b Forcibly disable PIC if building with HAVE_DYNAREC on twinaphex 2014-12-11 03:21:40 +01:00
  • 97087610a2 gba_memory.c - Turn trigger_dma into function twinaphex 2014-12-11 03:10:29 +01:00
  • e713728977 (gba_memory.c) Turn trigger_timer into real function twinaphex 2014-12-11 03:00:09 +01:00
  • 67525fe8ea Turn some sound macro functions in gba_memory.c into real functions twinaphex 2014-12-11 02:49:46 +01:00
  • d64b61a65e cleanups twinaphex 2014-12-11 02:40:08 +01:00
  • 5ebf76a41f Provide two comments twinaphex 2014-12-11 02:32:14 +01:00
  • 0bc2a111d7 Demacro-ize main.c twinaphex 2014-12-11 02:29:51 +01:00
  • c78a0dd39b (Android) For Android x86 build - try to use mmap, for Android - use ARM_MEMORY_DYNAREC codepath twinaphex 2014-12-11 01:38:47 +01:00
  • eeeff89a2c (Android) Works now with dynarec twinaphex 2014-12-10 21:12:45 +01:00
  • a9ce972736 Add HAVE_DYNAREC and -DARCH_ARM optionally to CFLAGS twinaphex 2014-12-10 20:31:56 +01:00
  • e33a56cd83 PC_BUILD can go now twinaphex 2014-12-10 18:53:06 +01:00
  • 19f05cf36a ARM needs special optimized routines for video blending, etc. twinaphex 2014-12-10 18:39:54 +01:00
  • fec1093dbf Small tweak in Makefile twinaphex 2014-12-10 18:35:56 +01:00
  • f419216e41 --no-undefined doesn't work for Clang twinaphex 2014-12-10 18:32:08 +01:00
  • acac41a910 iOS - set HAVE_POSIX_MEMALIGN and -marm twinaphex 2014-12-10 18:30:17 +01:00
  • 7e7383531b warm.h - change linux/ioctl.h include into sys/ioctl.h include twinaphex 2014-12-10 18:28:46 +01:00
  • ce8e594fc5 load_game_config - print config_path twinaphex 2014-12-10 18:09:53 +01:00
  • bda151e388 Silence libco/amd64.c warning twinaphex 2014-12-10 17:58:56 +01:00
  • b3f8e39a80 Turn dynarec enable/disable into core option if HAVE_DYNAREC is defined twinaphex 2014-12-10 17:48:43 +01:00
  • 82731290ee We don't need to get rid of idle loop patching for non-dynarec core twinaphex 2014-12-10 17:27:18 +01:00
  • 75cffe81f2 non-HAVE_DYNAREC codepath compiles and links now twinaphex 2014-12-10 17:16:41 +01:00
  • 47951f2f9f Add LDFLAGS to Makefile twinaphex 2014-12-10 17:12:22 +01:00
  • 6ad4f13fbc Only compile in cpu_threaded.c for HAVE_DYNAREC targets twinaphex 2014-12-10 17:10:17 +01:00
  • 1bf4901b58 Add HAVE_DYNAREC ifdef to gba_memory.c twinaphex 2014-12-10 17:09:24 +01:00
  • 51d78afa09 Add HAVE_DYNAREC ifdef twinaphex 2014-12-10 17:06:09 +01:00
  • 512f7f5b27 Code nits - get rid of '== NULL' / '!= NULL' twinaphex 2014-12-10 16:40:43 +01:00
  • 7a0b0cba45 Style nits twinaphex 2014-12-10 15:47:19 +01:00
  • 1cd8bb5235 Get rid of unused variable 'audio_buffer_size' to silence another warning twinaphex 2014-12-10 15:29:29 +01:00
  • 4f7ff2b91d Convert enum to sram_type_size to avoid warning twinaphex 2014-12-10 15:25:29 +01:00
  • 8bda867c2b Fix one warning in Clang twinaphex 2014-12-10 15:24:49 +01:00
  • b3fe5aa3e4 (Android) Add x86 target too twinaphex 2014-12-10 15:21:49 +01:00
  • f10da5d664 cleanups aliaspider 2014-12-10 13:10:25 +01:00
  • a926a68eb3 cleanups aliaspider 2014-12-10 12:53:26 +01:00
  • 6d7fd87e07 add a HAVE_MMAP check, cleanups. aliaspider 2014-12-10 12:29:19 +01:00
  • 41484cd73c use correct save directory. aliaspider 2014-12-10 12:00:12 +01:00
  • ad485d434a implement retro_serialize/unserialize aliaspider 2014-12-10 11:06:17 +01:00
  • 13d5e9c875 Android build fix aliaspider 2014-12-10 05:46:03 +01:00
  • a16cbdc416 Rename memory.c to gba_memory.c twinaphex 2014-12-10 05:05:41 +01:00
  • 26e7362de8 Cleanups in Android.mk twinaphex 2014-12-10 04:56:50 +01:00
  • 68efde5b94 Add Android JNI files twinaphex 2014-12-10 04:54:32 +01:00
  • ce374b460b Remove SDL code in cpu.c twinaphex 2014-12-10 01:30:47 +01:00
  • 4a2ab23f77 Take out SDL defines in common.h twinaphex 2014-12-10 01:30:02 +01:00
  • 1a8b77c185 Demacro-ize block_builder_arm/block_builder_thumb twinaphex 2014-12-10 01:25:37 +01:00
  • fe19474dca Add macro parameter 'opcode' to some macros twinaphex 2014-12-10 01:17:37 +01:00
  • afff31b508 fix arm target compile errors. aliaspider 2014-12-10 01:03:14 +01:00
  • 9f97113292 fix compiler error: initializer element is not a compile-time constant aliaspider 2014-12-10 00:20:41 +01:00
  • dee3a94edb Start adding ARCH_ARM rules Twinaphex 2014-12-09 22:48:03 +01:00
  • 8d2578eefc Add CPU_ARCH rules to Makefile.common twinaphex 2014-12-09 22:37:07 +01:00
  • a660cbd4c8 Update Makefile/Makefile.common twinaphex 2014-12-09 22:25:29 +01:00
  • 7252c226bf Cleanups - main.c twinaphex 2014-12-09 21:48:21 +01:00
  • 471a94f890 Move IN_MEMORY_C ifdefs to memory.c twinaphex 2014-12-09 21:37:58 +01:00
  • 35b71ff223 Clean up some unused stuff twinaphex 2014-12-09 21:32:00 +01:00