Commit Graph

1329 Commits

Author SHA1 Message Date
~skmp 718cace9a7 emscripten: Fix chrome & firefox OOM by enabling opts
Looks like the JITs get kind of crazy and eat up all ram otherwise
2015-07-29 04:08:08 +02:00
~skmp 376a36bf57 Emscripten: Hacky support, can boot bios
- Add TARGET_BOUNDED_EXECUTION, TARGET_EMSCRIPTEN
- Add emscripten makefile

Of course, there's no jit at this point
2015-07-29 04:08:08 +02:00
~skmp a2831d67a0 vmem/alloc: TARGET_NO_NVMEM to not use page tricks
This combined with various other configs avoid segfault/pagefaults usage
2015-07-29 04:08:07 +02:00
~skmp 59c6012db2 pvr/rend_if: TARGET_NO_THREADS support 2015-07-29 04:08:06 +02:00
Stefanos Kornilios Mitsis Poiitidis c8f982b8f5 linux-common: TARGET_NO_EXCEPTIONS, TARGET_NO_THREADS 2015-07-29 04:08:05 +02:00
~skmp 518c547fb5 nixprof: move to its own module, TARGET_NO_NIXPROF, NO_NIXPROF 2015-07-29 04:08:04 +02:00
~skmp b1a55aba3f ta_parser: use uniform function signatures for Append* callbacks
- Fixes emscripten build & makes more sense overall
2015-07-29 04:08:03 +02:00
Stefanos Kornilios Mitsis Poiitidis 4b94e2fe37 Merge pull request #713 from reicast/feat/small-cleanups
Feat/small cleanups
2015-07-29 04:07:46 +02:00
Stefanos Kornilios Mitsis Poiitidis 2347b95bf2 aica/sgc: fix update_rate warning 2015-07-29 03:26:58 +02:00
Stefanos Kornilios Mitsis Poiitidis a28209cae2 deps/sha256: memset is in string.h, not memory.h 2015-07-29 03:26:08 +02:00
Stefanos Kornilios Mitsis Poiitidis 6ebaa74ffe core.mk: Only android needs deps/libzip/ right now 2015-07-29 03:24:51 +02:00
Stefanos Kornilios Mitsis Poiitidis 30229f6724 cl: Fix const warning 2015-07-29 03:23:08 +02:00
Stefanos Kornilios Mitsis Poiitidis 75fd698695 Merge pull request #701 from reicast/feat/rec-cpp
Initial implementation of a "dynarec-structured" cached shop interpreter
2015-07-29 02:43:51 +02:00
Stefanos Kornilios Mitsis Poiitidis a82f9704d6 shrec: Limit max blocksize to 511 shops 2015-07-29 02:29:16 +02:00
~skmp f1a6f04dce rec-cpp: verify() that we have an executer w/ shop_count 2015-07-29 02:29:07 +02:00
Stefanos Kornilios Mitsis Poiitidis ec5bb09917 rec-cpp: Add sig aCaCcCdC for mul_u64, mul_s64 2015-07-29 02:28:52 +02:00
~skmp 5b67e3f090 rec-cpp: SH4_TCB doesn't need to be in .text if not executable 2015-07-29 02:28:39 +02:00
Stefanos Kornilios Mitsis Poiitidis 1e0224dd1b rec-cpp: Add sig aCaCcCdC for rocl, rocr 2015-07-29 02:28:29 +02:00
TwistedUmbrella a3f66be3ce Merge pull request #704 from AbandonedCart/loungekatt
XMLParser and GLES 3 cleanup
2015-07-28 20:20:53 -04:00
Stefanos Kornilios Mitsis Poiitidis 51ab5ab664 Merge pull request #695 from randomstuff/cmake
cmake build (currently Linux only)
2015-07-29 01:51:41 +02:00
Stefanos Kornilios Mitsis Poiitidis 7de36d56ec Merge pull request #712 from reicast/feat/imgread-readmiss-with-sector
imgread/common: On read error, print the sector that failed
2015-07-29 00:49:21 +02:00
~skmp 39e1439b93 imgread/common: On read error, print the sector that failed 2015-07-29 00:41:14 +02:00
Stefanos Kornilios Mitsis Poiitidis fb6d0a0166 Merge pull request #710 from reicast/feat/vmu-safer-creation
maple: Gracefully fail if vmu cannot be written
2015-07-29 00:03:00 +02:00
Stefanos Kornilios Mitsis Poiitidis 5010cf3f23 Merge pull request #709 from reicast/feat/audio-spams-nomore
Audiostream: Don't log on every push if audio is disabled
2015-07-29 00:02:30 +02:00
Stefanos Kornilios Mitsis Poiitidis 83d3abf266 maple: Gracefully fail if vmu cannot be written 2015-07-28 23:54:50 +02:00
Stefanos Kornilios Mitsis Poiitidis f62d532b78 Audiostream: Don't log on every push if audio is disabled
There is an initialization warning which is enough to warn users
2015-07-28 23:52:48 +02:00
Gabriel Corona 2fe5f8b22d Experimental cmake build (currently Linux only) 2015-07-28 23:38:40 +02:00
Stefanos Kornilios Mitsis Poiitidis d3c3feb523 Merge pull request #703 from Holzhaus/unified-makefiles
Unified Linux makefiles (x86/x64)
2015-07-27 23:56:56 +02:00
Stefanos Kornilios Mitsis Poiitidis 7d282d9861 Merge pull request #644 from Holzhaus/fix-gcc-warnings
Fix gcc warnings
2015-07-27 20:20:55 +02:00
Jan Holthuis 3faf51c6ce Removed mode variable in print_mem_addr()
This removes the mode variable in core/linux/common.cpp's
print_mem_addr(). It not neccessary and produces compiler warnings.
2015-07-27 19:12:28 +02:00
Jan Holthuis 9e00305c90 Fix anonymous struct/union linkage errors in gdromv3.cpp
Since read_params, packet_cmd, read_buff, pio_buff, ata_cmd, cdda and
ByteCount have not been declared static, they are visible in other
translation units. Since their structs are anonymous, their types have
internal linkage only. Thus, accessing them in other translations units
is impossible anyway.

By declaring them static, we're giving it internal linkage so that
neither the type nor the variable are visible in other translation
units.

Here are the errors:

../../core/hw/gdrom/gdromv3.cpp:50:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> read_params' with
linkage
 } read_params;
   ^
../../core/hw/gdrom/gdromv3.cpp:83:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> packet_cmd' with
linkage
 } packet_cmd;
   ^
../../core/hw/gdrom/gdromv3.cpp:91:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> read_buff' with
linkage
 } read_buff;
   ^
../../core/hw/gdrom/gdromv3.cpp💯3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> pio_buff' with
linkage
 } pio_buff;
   ^
../../core/hw/gdrom/gdromv3.cpp:106:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> ata_cmd' with
linkage
 } ata_cmd;
   ^
../../core/hw/gdrom/gdromv3.cpp:122:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> cdda' with linkage
 } cdda;
   ^
../../core/hw/gdrom/gdromv3.cpp:156:4: warning: anonymous type with no
linkage used to declare variable '<anonymous union> ByteCount' with
linkage
  } ByteCount;
    ^
2015-07-27 19:08:35 +02:00
Jan Holthuis c43333e502 [Linux] Make X11 optional 2015-07-27 18:24:59 +02:00
Jan Holthuis 23891b8dd7 Makefile: Print ARCH variable 2015-07-27 18:24:22 +02:00
Jan Holthuis 3a12a11cfc Makefile: dont use tab indent for non-commands 2015-07-27 18:24:22 +02:00
Jan Holthuis 7fc54fa214 Merge lin86/lin64 Makefiles to linux/Makefile 2015-07-27 18:23:48 +02:00
TwistedUmbrella 62ea812a08 Streamline populating the view with XML data 2015-07-26 22:41:57 -04:00
TwistedUmbrella 824b528e4f Clear images when disabled, Clean up XMLParser 2015-07-26 22:01:24 -04:00
TwistedUmbrella d50620bf3f Add support for TheGamesDB elastic search API 2015-07-26 22:01:15 -04:00
Jan Holthuis 57662482e0 Replace HOST_NO_AREC with TARGET_NO_AREC in Linux Makefiles 2015-07-26 16:52:59 +02:00
Jan Holthuis fdd8e4239a Harmonize Linux x86/x64 Makefiles 2015-07-26 16:12:16 +02:00
Stefanos Kornilios Mitsis Poiitidis 4b97f468b5 rec-cpp: Implement block ends and a few more decoders
- Full IL mode now works!
- Dispatch up to 270 mips on 2.2ghz i7, on a complex 3d scene
- Will run many games fullspeed on modern pc, thanks to idleskip
2015-07-25 20:38:48 +02:00
Stefanos Kornilios Mitsis Poiitidis fb55e7f6f8 sh4/canonical: Provide impls for sync_sr and sync_fpscr
This shouldn't be a requirement as directly using shil_cf_ext should work,
but for some reason if I don't msvc optimizes the functions out.
2015-07-25 20:36:06 +02:00
Stefanos Kornilios Mitsis Poiitidis cbda836a96 she/core: Less stupid register swap functions 2015-07-25 20:33:53 +02:00
TwistedUmbrella 14d29d9670 Add caching of image files for disk info 2015-07-25 13:14:59 -04:00
TwistedUmbrella 7bd709460a Properly test and set client version in EGL3 factory 2015-07-25 13:14:59 -04:00
Stefanos Kornilios Mitsis Poiitidis b1f7015a98 rec/cpp: Mostly fully direct specialized dispatchers
- Nest shil implementations to shilop_##name::form::impl for easier template matching
- Add more direct handlers
- Add prints if a direct handler isn't found
- Remove multiple indirect handlers, leave them for fallback
2015-07-25 14:36:04 +02:00
Stefanos Kornilios Mitsis Poiitidis 51a6ed2146 rec/all: optional mips counter on recs
Also de-unroll rec-cpp for debug builds
2015-07-25 14:31:46 +02:00
Stefanos Kornilios Mitsis Poiitidis 00dbd6222f rec-cpp: Massage for gcc compatibility 2015-07-25 14:25:51 +02:00
Stefanos Kornilios Mitsis Poiitidis 1710f76ab1 unroll the execution loop 2015-07-25 14:24:11 +02:00
Stefanos Kornilios Mitsis Poiitidis 7303a046be rec-cpp: Direct calls to shil_opcl_* handlers for many opcodes 2015-07-25 14:23:59 +02:00