Commit graph

54 commits

Author SHA1 Message Date
wally4000
6106446a60 Move Dynamo back to core. Performance goes all weird 2024-08-09 19:14:31 +10:00
wally4000
fd22ce09e0 Shuffle some files around 2024-08-05 21:15:57 +10:00
wally4000
057d301b11 Remove BaseDir extern and replace with setBasePath function 2024-08-02 15:15:58 +10:00
wally4000
a02e85073e Move a lot of fopen to std::fstreams 2024-07-11 20:10:49 +10:00
wally4000
4a35201f22 Specify if a variable is unused to silence compiler. 2024-06-20 12:24:05 +10:00
wally4000
677f53c592 Modernise DAEDALUS_USE and replace ARRAY_SIZE VARIABLE 2024-06-17 13:45:41 +10:00
wally4000
a339eb5549 Remove DAEDALUS_FORCEINLINE macro to use default inline 2024-06-17 06:48:18 +10:00
Howard Su
1ad062f39e don't use LTO during debug build
LTO causes debug is too hard
2023-12-04 20:14:03 +08:00
Wally4000
8f83e2bc04 Modern compilers can deal with __fastcall 2023-10-23 13:05:33 +11:00
Wally4000
895e8910d9 Remove BuildOptions and clean up macros 2023-10-23 12:58:37 +11:00
Wally4000
c9df0d49d0 Use FileSystem for more things 2022-04-28 13:20:10 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
Wally4000
eadc1b3758 move from typedef to modern using declaration 2021-10-18 18:58:14 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
=
1c342d8c8f Revert all initialiser list variables. 2020-05-04 12:24:21 +10:00
z2442
275aacd212 more nullptr updates 2019-05-03 21:09:20 -04:00
Ben Slater
6a725bf99e Removed a bunch of asserts / debug options from release build, stabs a bunch of compiler warnings 2019-05-03 17:43:44 +10:00
Ben Slater
eb134c1262 Moved some more asserts and profiling stuff out of the way to stop the compiler whinging.
Start restructuring audio plugin.. (Needs a diagram now)
2019-05-02 20:46:56 +10:00
Wally
d268338d6c Move debug stuff from release / Move to C11 inits in Core / Add Motos fancy new icons 2019-03-23 17:53:26 +09:00
Wally
44b590f464 More playing around with C11 styled stuff
Tidied up ME code
2019-03-23 08:59:56 +09:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Wally
e17fdddadf [~] Fix Conker Regression
[+] Remove a hell of a lot more missed asserts.
2019-01-23 17:05:36 +11:00
Wally
0111275f23 Move a lot of debug stuff out of Release Build 2019-01-21 14:26:00 +11:00
salvy
c728c7654e [!} Ensure r0 is always zero (R4300_CHECK_R0 is no longer needed, is now only used for debugging)
[!] Fixed regression in mario party 3 (We now only set rounding mode for games that needed it ex DK64) (PSP)
[!] Optimized CTC1
[!] Fixed bug in Compare for Equality in interpreter
[!} Clean ups in R4300.cpp
[!] Optimisation for ADDI in x86 dynarec (PC)
2013-11-04 10:18:54 -08:00
Paul Holden
067a594a9f [~] Move ConfigOptions.{h,cpp} to Config/ and tidy header include order. 2013-06-04 22:02:31 +01:00
salvy
7fc3af08d0 [!] Saves state's name scheme is the same as the PSP now(save states can be shared with the PSP easily), also no there's 10 slots per game
[!] Increase max trace size (Note: Banjo Tooie still flushes our fragment cache too often, but atleast now I can run it fullspeed on my old pc)
[+] Added toggle for full screen, just press F1 (WIP!)
[!} Updated readme.txt
2013-06-02 23:05:23 -07:00
salvy
eb94a69152 [!] Fixed bug with OSHLE when flushing the fragment cache (This fixes many games, Banjo Tooie, F-Zero, Zelda, PS, SSB, and others)
[~] DK64 works now with dynarec (PSP)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1717 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-24 06:35:33 +00:00
salvy
4773382962 [!] Fix for banjo tooie (Can only freeze GFX task!)
[~] Added comments so we can hopefully get dynarec working for tooi

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1716 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-23 07:38:54 +00:00
strmnnrmn
ffcbe649b1 [~] stdafx cleanup: Include stdio.h and stdlib.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1703 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:29 +00:00
strmnnrmn
14edad8918 [~] stdafx cleanup: Use DAEDALUS_FORCEINLINE rather than msvc __forceinline-ism, and move to Utility/Macros.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1692 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:42 +00:00
strmnnrmn
3d4a0c0e95 [~] stdafx cleanup: Move utility macros to Utility/Macros.h and directly include where needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1691 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:35 +00:00
strmnnrmn
9bc86745b7 [~] stdafx cleanup: Pull in Utility/Profiler.h directly
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1689 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:14 +00:00
salvy
d4a870681c [~] Move web files used by OSX/W32 dlist debugger to its own directory, so I can use xcopy to move them my build directory
[!] Enabled /OPT:REF for W32 (shrinks ~100kbs off the binary)
[~] Compile fixes to W32 debug build

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1503 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 23:13:17 +00:00
strmnnrmn
fd89421ccb Replace a couple of while(1) with while(CPU_KeepRunning())
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1010 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:44:41 +00:00
strmnnrmn
8e71074ed0 CPU_DynarecEnable is needed for the W32 build debugger
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@984 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:15 +00:00
strmnnrmn
f611a3b3d9 Remove the need for a stub Dynamo_SelectCore when DAEDALUS_ENABLE_DYNAREC is not defined
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@924 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:58 +00:00
strmnnrmn
077a2e10eb [~] Tag an #endif that spans many lines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@923 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:52 +00:00
strmnnrmn
9db4090a6d [~] Remove lots of DAEDALUS_ENABLE_DYNAREC checks in Dynamo.cpp - do a single check for most of the file
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@922 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:47 +00:00
salvy
351f9656ef [!] Simplified emulation's main loop (CPU is stopped in CPUMain anyways)
[~] Changed priority of CPU_STOP_RUNNING to least likely (happens only when emulator is stopped)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@900 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-26 16:13:07 +00:00
salvy
bf5e76d078 [!] Optimized CPU_FetchInstruction
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@898 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-25 07:21:38 +00:00
strmnnrmn
8ef65c6894 Fix mixed Windows/Unix line endings in a bunch of files. Add missing newlines before EOLs
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@849 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:20 +00:00
strmnnrmn
d7d116642a Fix more trailing whitespace (files with CRLF line endings?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@825 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 23:23:11 +00:00
salvy
005d71196d [!] Enabled osSetIntMask (ATM we just NOP it.. for some reasons games don't seem to bother, perhaps not important for emulation?) (Let me know if any game no longer works with OHSLE so I can try to implement it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@774 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:51:07 +00:00
salvy
6342020194 [!] Tweak gHotTraceThreshold so it can identify more hot traces for the dynarec (speed up)
[!] Optimized guNormalize_Mario
[!] Implemented osSpTaskYielded correctly (OSHLE works for Yoshi again) 
[!] For memory write funcs only use offset for look up

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@773 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:22:43 +00:00
Corn
3088c99ef2 [!] Fixed some dynarec constants that slowed down War Gods and PD
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@741 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-29 11:30:23 +00:00
Corn
4502ef5f4f [!] It is now possible to map emulated CPU/FPUregs to psp scratchpad
[!] Debug_console is now possible to compile without silent flag
[!] Adjustments to dynarec/traces parameters

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@738 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-24 20:30:44 +00:00
Corn
bc7a7177a2 [!] Added showing handled speed hacks (with OP code) in dynarec (undef DAEDALUS_SILENT)
[!] moved some code under DAEDALUS_SILENT to DAEDALUS_DEBUG_CONSOLE and DAEDALUS_DEBUG_DISPLAYLIST

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@737 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-24 13:40:26 +00:00
salvy
36f553f465 [!] FPUControl is now 32bit
[!] Some small optimizations in OSHLE

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@733 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-17 14:37:15 +00:00
salvy
ffe6238764 [!] Code clean ups, mostly made debug only code which is obsolete in release
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@642 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-13 07:40:03 +00:00