Commit graph

187 commits

Author SHA1 Message Date
z2442
1791d929a1
Update JobManager.cpp 2018-10-03 21:37:17 -04:00
z2442
ef988e775c
Update JobManager.cpp
Remove Vita test It works but does not belong here
2018-10-03 14:51:54 -04:00
z2442
ce1e89f8a2
Update JobManager.cpp
Added check for vita cfw
2018-09-16 21:12:42 -04:00
salvy
be72ff010f [!] Fixed and made MEMCPY_TEST platform independent
[!] Small bug fix when decrypting PifRam
2014-04-28 21:00:52 -07:00
CornN64
66f8c9e851 [!] Fixed text in advanced option screen
[!] Reinstated some lost changes to exception.cpp
2013-10-20 21:47:48 +02:00
CornN64
b2a7b6da47 [!]ops 2013-07-15 09:41:40 -07:00
CornN64
e0d8871af0 [!] Fixed broken ASM scrolling + some tidy in exception.cpp for PSP 2013-07-14 19:36:41 +01:00
Paul Holden
067a594a9f [~] Move ConfigOptions.{h,cpp} to Config/ and tidy header include order. 2013-06-04 22:02:31 +01:00
Paul Holden
49a06ed319 [~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script 2013-06-04 22:02:30 +01:00
Paul Holden
734944d829 [~] Drop the _MSC_VER check around #pragme once - all the compilers we use understand #pragma once (or happily ignore it) 2013-06-04 22:02:30 +01:00
strmnnrmn
5c94de6276 [~] Path::AddExtension return value is unused (and a bit pointless)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1747 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:41:10 +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
4e78d7d970 [~] stdafx cleanup: Include stdlib.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1702 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:59 +00:00
strmnnrmn
16cb89183a [~] stdafx cleanup: Include string.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1701 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:47 +00:00
strmnnrmn
3757a27a46 [~] stdafx cleanup: PSP should compile without DaedalusTypes.h in stdafx.h now
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1699 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:22 +00:00
strmnnrmn
54ed2baae7 [~] PSP fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1698 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:16:24 +00:00
strmnnrmn
b05c813379 [~] Huge filename cleanup. Use IO::Filename rather than char [MAX_PATH] or char [MAX_PATH+1]. Add an IO::Path::Assign. Use IO::Path::Assign/Combine rather than strcpy/strcat/snprintf. Remove MAX_PATH (everything should use the constant in IO.h if required, then we can make this platform specific)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1686 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:55 +00:00
strmnnrmn
c5fdd5d04a [+] Add an IO::Path::Assign
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1672 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-06 18:39:00 +00:00
strmnnrmn
9821e04675 [~] Update DAEDALUS_ASSERT and other macros that are compiled out of release builds so that they 'consume' their arguments without generating any code. This removed the need for use() in a lot of places.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1655 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:37:17 +00:00
strmnnrmn
b5f16b4063 [~] Rename the PSP FastMemcpy to FastMemcpyPSP (needed for lib changes I want to make)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1615 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 13:02:04 +00:00
salvy
286ca28551 [!] Fixed W32 build
[!] Optimized DMEMMOVE3
[!] Aligned aligned path of memcpy_byteswap for W32 will use MSVC's impl since it takes advantage of SSE which is much faster than our impl

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1597 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-17 05:26:13 +00:00
strmnnrmn
701263063b [~] Rename CritSect to Mutex
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1394 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:35 +00:00
strmnnrmn
80b2be6c34 [+] Add a ToMilliseconds convenience function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1232 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:02:15 +00:00
strmnnrmn
7ad92840cd [~] WaitForThreadTermination -> JoinThread, and tidy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1227 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:01:31 +00:00
strmnnrmn
85ff566e35 [~] INVALID_THREAD_HANDLE -> kInvalidThreadHandle (I confuse with Win32 INVALID_HANDLE_VALUE)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1224 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:01:04 +00:00
strmnnrmn
84b5f81098 [~] Merge some minor whitespace fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@904 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 20:44:09 +00:00
strmnnrmn
422823e52e [~] FastMemcpy.h was a bit broken for big-endian targets. fast_memcpy_swizzle correctly just called memcpy, but memcpy_swizzle ended up incorrectly byteswapping. I've renamed the underlying implementations to _byteswap (which always byteswap, regardless of enianness) and make the _swizzle functions correctly select between memcpy/memcpy_byteswap as appropriate. I think it would probably be clearer to rename memcpy_swizzle to n64_memcpy, or something like that?
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@902 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 19:31:53 +00:00
salvy
a11d29c5c1 [!] Avoid sltiu in loop for unaligned copies (This speeds up unaligned copies quiet bit)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@880 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-30 22:42:12 +00:00
Corn
31bbfaae18 [!] Some further refinements to Fastmemcopy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@879 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-30 08:28:30 +00:00
Corn
92c451823f [!] FastMemcpy now uses 32bit reads also for unaligned transfers.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@878 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-28 13:32:57 +00:00
salvy
d0f03d3de5 [!] ~50% speed up of unaligned copies in fast memcpy swizzle (Noticed 99% of the time we are atleast word aligned)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@877 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-26 03:46:29 +00:00
salvy
2bc64156e6 [!] Some clean ups
[!] Made guRotateF and volatile memory platform independent 
[!] Check for invalid reads/writes to PIF

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@870 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-20 21:50:27 +00:00
salvy
85fea84831 [!] Fixed bug in memcpy_vfpu_swizzle when size is less than what we are aligning to
[!] Some optimizations to osStartThread

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@867 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-14 18:55:39 +00:00
salvy
def84ecf72 [!] Unrolled goto in aligned path in memcpy_vfpu_swizzle
[!] Some clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@863 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 14:47:18 +00:00
salvy
5fb82a2cc6 [!] Fixed async audio broken (VFPU and MediaEngine don't mix!)
[!] Made fast memcpy truly platform independent
[~] Some more fixes and improvements to memcpy_vfpu_swizzle from last commit

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@862 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 02:23:32 +00:00
salvy
b92892effa [~] Some fixes and improvements to my previous commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@861 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-11 18:45:14 +00:00
salvy
de473de9b9 [~] simplify conditions for memcpy_cpu_LE and memcpy_vfpu_BE
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@860 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-11 04:35:08 +00:00
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
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
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
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
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
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
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
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
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
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
Corn
fd9afeaa08 [!] Added possibility to scroll ASM when PSP BSODs (require #undef DAEDALUS_SILENT)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@729 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-14 18:29:30 +00:00