Corn
da636325dd
[!] Free up AT register for use as cached register in dynarec (case must be taken not to use A0 for load/store of variables)
...
[!] Removed usage of T0/T1 register (use V0/V1) except for in load/store OPs in dynarec.
[!] Some additional fixes to Fastmemcopy (and removed usage in PSPrenderer) tnx Salvy.
[!] Slight improvement of SW ep1 racer shadows (blendmode)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@859 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-10 18:57:31 +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
Corn
3b94307914
[!] Fixed normal and swizzled versions of VFPU memcpy
...
[+] Enabled VFPU memcpy in PSPrenderer and DMA
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@856 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 18:37:03 +00:00
strmnnrmn
74b132f9f0
[~] Move memcpy_cpu_LE to a platform-independent Source/Utility/FastMemcpy.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@855 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 15:40:15 +00:00
strmnnrmn
45580e16c2
Delete some commented out code. Merge a couple of changes from OSX port
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@854 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 15:40:09 +00:00
strmnnrmn
96daafcb4c
[~] Rename g_ReadAddressLookupTableForDynarec to g_MemoryLookupTableReadForSynarec (match C variable name)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@853 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 15:40:04 +00:00
strmnnrmn
0e698c385d
Fix all the remaining mixed newlines
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +00:00
strmnnrmn
ba29dea5cc
Fix line endings - mostly LF with a dash of CRLF
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@851 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:44 +00:00
strmnnrmn
7fba1278a6
Fix more mixed newlines
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@850 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:28 +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
6f65366fb6
Fix compile error in Microcode.cpp in debug builds - custom_ucode wasn't defined
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@847 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:52 +00:00
strmnnrmn
22f9d4f0d7
Fix some CRLF/LF inconsistencies
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@845 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:43 +00:00
strmnnrmn
3a37f8ac57
Make FastMemcpy a bit more platform independenty and move to the main Utility dir. I removed the timing test and wrapped it up in a function (what it loses from the function call, it gains from being able to inline GetCurrent)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@844 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:36 +00:00
strmnnrmn
1e970537f8
Fix some indentation in AudioHLEProcessor.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@843 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:23 +00:00
salvy
35e55f149e
[-] Removed cheat frequency option (cheats no longer cause much overhead anyways)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@842 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-05 21:25:35 +00:00
salvy
ef46b718db
[=>] Merge from GIT repo
...
[!] Use ROM_GetCountryNameFromID when inserting country ID for cheats
[~] Small typo when inserting country id in cheats
[!] Simplified abit when applying cheats
[!] Optimize cheatcode apply (cheats will be applied directly to RDRAM) Will remove cheat frequency option eventually, since there's isn't much overhead from cheats now
[+] When disabling cheats, sure we can save the most recent value later on
[!] More lean ups/Optimisations to cheat feature
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@841 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-05 20:58:47 +00:00
salvy
4536c5c170
By StrmnNrmn : …
...
Multi-platform:
* Reintroduced a bunch of DAEDALUS_PSP ifdefs.
* Reintroduced a load of Win32/OSX code.
* R4300: To reduce some of the DAEDALUS_PSP ifdefs in R4300.cpp, added some
defines for R4300_IsNan etc.
* R4300: f32_to_s32_trunc etc. I think we should keep these as they provide some
abstraction between PSP/OSX/W32 etc and remove tons of ifdefs elsewhere.
I think I updated all of these correctly. Please check!
* Math/Math.h: we should provide a consistent interface here. e.g. rather than
exposing pspFpuSqrt(), we should have Sqrt() that's #defined (or a wrapper
function) to the most appropriate implementation for the platform.
Small improvements:
* Added a few DBGConsole_Msg lines to track down boot errors.
* CPU: gLastPC/gLastAddress were defined as static in CPU.h - that means they'd
be introduced into all compilation units that pulled in that header. Redefined
as extern.
* NativeTexture.h - GetScaleX/Y can just return an f32 (no need for reference)
* ROMFileCache: Just declare AddressToChunkMapIndex/GetChunkStartAddress as
inline functions in the .cpp file.
Tidying:
* Path: Moved IO::Path::Tidy to String.h (it's not really a Path function).
* Lots of whitespace fixes (git doesn't like whitespace at the end of lines)
* Started nuking lots of 'tractor lines' (//*********************)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@840 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-05 20:07:03 +00:00
strmnnrmn
e1e167d8db
Fix compressed rom support (still disabled in psp build).
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@839 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-04 09:32:21 +00:00
strmnnrmn
57e39ec213
Merge some trivial changes from multi-platform build
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@838 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-04 09:32:14 +00:00
strmnnrmn
03ab67a298
Move IO::Path::Tidy to String.h - it's not really anything to do with paths
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@837 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:51:11 +00:00
strmnnrmn
7008e95d44
Fix inconsistent line endings in Translate.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@836 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:51:05 +00:00
strmnnrmn
6f7f5ce558
Fix inconsistent line endings in IOPSP.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@835 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:51:01 +00:00
strmnnrmn
5dab177d4c
Fix inconsistent line endings in Cheats.cpp/h
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@834 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:50:56 +00:00
strmnnrmn
0affcb7359
#endif comments were inaccurate
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@833 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:50:52 +00:00
strmnnrmn
07c715c978
SWAP_PIF isn't used
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@832 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:50:48 +00:00
strmnnrmn
7e94b19491
Merge some tidying to Interrupt.h/cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@831 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-03 22:50:44 +00:00
strmnnrmn
7eac7e42f2
Don't need to write to MEM_UNUSED
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@830 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 18:52:14 +00:00
strmnnrmn
ddebde05aa
Remove some dead code, other minor edits to Memory code
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@829 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 18:52:09 +00:00
strmnnrmn
20bb7396fa
Unecessary return statement
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@828 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 16:01:07 +00:00
strmnnrmn
b19424211a
Define DAEDALUS_ENDIAN_MODE in SysXXX/Include/Platform.h, so it can be set on a per-platform basis
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@827 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 16:01:03 +00:00
Corn
a39afafcb4
[-] Removed the usage of K0/K1 registers for the DYNAREC
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@826 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-02 09:24:09 +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
strmnnrmn
767e4efd9c
Fix line endings
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
Corn
1e126adaba
[!] Some fixes to OSHLE gu patches
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@821 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 21:38:15 +00:00
Corn
d4c0029e2b
[!] Fixed compile error with endian and svnversion
...
[!] Added twiddles to Fastmemcpy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@820 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 20:07:02 +00:00
salvy
41bac1f809
[!] Reorder MatrixFromN64FixedPoint to trick compiler to optimize even more (Corn)
...
[+] Add back DAEDALUS_ENDIAN_MODE (very important for future ports)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@819 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 10:57:46 +00:00
salvy
e3e94b6e34
[~] Opps repacking 16bits values in memory is actually slower - thnx corn
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@818 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 09:34:00 +00:00
salvy
d947aa6315
[!] Simplified and optimized MatrixFromN64FixedPoint
...
[!] [OSHLE] Changed to 32bit when storing to a0,1,2,4 regs
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@817 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-25 22:58:37 +00:00
Corn
5a9178dd8a
[!] Fixed bug that made textures fail in Kirby (fence disappear and other issues)
...
[!] Added hack for a forced blend in Sin and Punishment
[!] Additional clean up in Blend explorer
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@816 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-25 14:49:46 +00:00
Corn
05cc91268a
[!] Clean up BlendExplorer
...
[!] Added more blend options to BlendExplorer
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@815 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-24 18:27:36 +00:00
salvy
71803d2823
[!] Simplify when setting custom ucodes (now ucode modifier offset and array building is cached)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@814 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-23 09:51:10 +00:00
salvy
cb92097be3
[!] Optimized OSHLE timer patches
...
[!] Removed KI hack from osTimerServicesInit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@813 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-20 01:35:25 +00:00
Corn
fccfc49faf
[!] Fixed blends for SSV and Sin & Punishment
...
[!] some cleanup in debug blends
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@812 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-17 18:32:13 +00:00
Corn
a4658c0a95
[!] Slimmed the size of TextureInfo
...
[!] improved SSV pickup/smoke blendmode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@811 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-16 11:41:34 +00:00
salvy
eaa0f2b641
[!] Opps reverted previous commit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@810 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 20:42:24 +00:00
salvy
ce36d63b82
[!] Use TI hash to check if the texture is the same (we'll reuse it in the cache too)
...
Note: T1 hack is broken!! FIX ME
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@809 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 20:29:08 +00:00
Corn
d5231e638f
[!] brought back TUC hack for OOT (text is scrambled)
...
[!] Fixed some typos + clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@808 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 19:48:13 +00:00
salvy
1e3bfed221
[!] Some clean ups in Microcode cache, also removed overflow check (it should never happen)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@807 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-11 19:08:51 +00:00
Corn
7583bd0d59
[!] Some cleanup and minor (bug)fixes
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@806 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-11 10:30:18 +00:00