Commit graph

63 commits

Author SHA1 Message Date
Wally4000
4f31666b11 Revert PIF change for Turok, we'll look into this later 2025-03-25 12:33:41 +11:00
wally4000
e5e2571a38 Fixed Turok Memory Pack loading issue 2025-03-16 19:16:38 +11: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
9310ae0788 add cstring in appropriate files 2024-07-01 10:48:50 +10:00
wally4000
4bcc5af9b9 Move MathUtil.h to Utility 2024-06-17 16:29:28 +10:00
wally4000
677f53c592 Modernise DAEDALUS_USE and replace ARRAY_SIZE VARIABLE 2024-06-17 13:45:41 +10:00
Howard Su
fcc875fb46 Fix warnings, still left some 2023-12-06 08:52:37 +08:00
Wally4000
895e8910d9 Remove BuildOptions and clean up macros 2023-10-23 12:58:37 +11:00
Wally4000
060557db9b Use smart pointers for singleton and graphics 2022-07-16 00:36:25 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +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
=
5cb6b8d146 Apply fixes from Vita Repo for mempak fix. Thanks Rinnegatamante and m464p-nx 2020-04-15 15:47:40 +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
Wally
874c4ebd91 Fixed some narrowing issues, reverted ME back to what it was.. Still playing up
Removed the Rounding mode stuff in the R4300.cpp
2019-03-23 23:02:18 +09:00
Wally
8360389ce8 Tidied up the R4300 / PIF files, there's a small speed boost 2019-03-23 21:38:42 +09:00
Wally4000
ff46e2e352 Remove remainder of SVN Version from AboutComponent
Fix MemPak support
2019-02-28 07:26:21 +11: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
be72ff010f [!] Fixed and made MEMCPY_TEST platform independent
[!] Small bug fix when decrypting PifRam
2014-04-28 21:00:52 -07:00
strmnnrmn
7f6a40f167 [~] Give Save a C-style interface
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1735 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:40:01 +00:00
strmnnrmn
1ac2f80e02 [~] Remove some unused #includes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1733 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:39:49 +00:00
strmnnrmn
fcc5aab37e [~] The linker will now strip out IsEepromPresent if it's unused
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1653 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:37:00 +00:00
salvy
cd8b86989b [!] Fixed sky in glover when in un/scaled (PSP)
[!] Fixed possible bug in blend state, also default is blend disabled (No longer breaks tarzan) (PSP)
[!] PRXs weren't copied to the correct location (PSP)
[~] Correct last warning for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1613 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-26 06:58:28 +00:00
Corn
c329fbd011 [!] reverted some unneeded conversions/bloat
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1600 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-19 20:25:01 +00:00
salvy
581072f5e2 [!] Fixed MSVC warnings
[!] Optimization for Sprite2D, only update the counter individually when next command doesn't match
[!] Fixed and optimized guNormalize_Rugrats (Still can't find any game that uses this errg)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1599 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-18 22:05:31 +00:00
strmnnrmn
7a453bb916 [+] System_Open init steps should be able to fail - e.g. if the specified file can't be found.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1570 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:05 +00:00
salvy
1be5f67228 [!] Better keep Process Pif in one function to avoid redundancy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1352 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 05:33:56 +00:00
salvy
009f06aa2e [!] Fixed fastRand (sorry, didn't mean to commit this in the first place!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1295 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-14 18:13:03 +00:00
salvy
a27ca4eea8 [!] Broke down PIF Process (Banjo Tooie was failing due this, also allow us to simplify things and move most of the code to ProcessWrite which is called rarely).
[+] Added X-Scale's PIF/CIC-NUS-6105 challenge/response algorithm (Used in Banjo Tooie, PD, and JF)
 http://www.emutalk.net/threads/53217-N64-PIF-CIC-NUS-6105-Algorithm-Finally-Reversed

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1294 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-14 06:47:22 +00:00
strmnnrmn
26a1b29a44 Minor PIF tidying
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1008 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 19:44:31 +00:00
salvy
5614839ad9 [~] mpPifRam is already swapped (DAEDALUS_DEBUG_PIF)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@947 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-07 20:32:34 +00:00
salvy
6fa7f7ba84 [!] Write to mempak file when N64 writes to it, instead of when the game is exit (this prevent any loss of saves if a game crashes suddenly, at the expense of performance if a game writes frequently the mempak file (have yet to see)
[!] PSP, only controller 1 is connected

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@946 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-07 19:58:42 +00:00
salvy
a9bf33cf48 [~] Cleanups in PIF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@944 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-07 07:38:57 +00:00
strmnnrmn
8d02eaa1e8 [~] Fix inconsistent line endings (no functional changes)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@913 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:12:00 +00:00
salvy
5dd320480d [~] Opps
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@858 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-09 03:27:18 +00:00
salvy
dbcaadabb1 [~] Made InitMempackContent table non static
[~] Some clean ups in PIF

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@857 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-09 03:25:17 +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
90af62af88 [!] Reduce PIF RAM usage from 2048 bytes to 64 (It can be reduced more, but need to do some tests first)
[!] Enabled SI hack for Cruisn' USA (it boots now)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@745 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 09:13:05 +00:00
salvy
f4d2fe488a [!] Bring back changes to PIF/DMA changes (This is was the proper way, PJ64 are compatible now)
[!] Added workaround to support older savestates created after rev 715

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@683 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-26 07:49:21 +00:00
Corn
f6c89b1ec2 [!] Proper double handling in interpreter (and some clean up)
[!] Reverted PIF/DMA changes (Incompatible with older SaveStates)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@682 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-25 21:15:11 +00:00
salvy
945d0c432e [+] Added known value optimizations to SLTx ops (32bit only!) in dynarec (they are disabled since I'm not sure is worth to handle them)
[!] PIF Ram - swap while copying in one go and fuses 4 transfers in one (slight speed-up) (Salvy & Corn)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@679 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-22 09:08:52 +00:00
salvy
1c1894afd8 [!] Removed overhead of Buck Bumble hack from Cop1_D_ADD, biggest win is for games that need simulate doubles disabled
[!] Enabled simulate doubles for Buck Bumble (slight speed up) 
[!] Use pspfpu math for interpreted Opcodes that use floorf,roundf,truncf etc (generates much better assembly, for example our own implementation added mfc1) 
[!] Do proper floorf,roundf,truncf for Double precision Opcodes that use them (we should use double precision from libc actually( Im sure this the reason we didn't handled them in the first place?).. but since we simulate doubles for most games and doing it natively with single precision is alot faster, better than not handling them at all ;). Should fix some random bugs)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@632 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-27 22:09:42 +00:00
Corn
08d5f979b8 [!] Improved speed in PIF CRC calculations (w/o using table)
[!] Proper name to IRQ hack -> SkipPifIRQ

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@350 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-14 09:45:52 +00:00
Salvy
2d317ddf3c [~] Fixed compiling error from last commit
[-] Small clean ups here and there

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@324 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-07-25 01:52:03 +00:00