Commit graph

153 commits

Author SHA1 Message Date
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
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
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
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
81a3410b43 [!] Added Fullscreen HD mode(scales 3D to proper 16:9 format. Note: don't work on all ROMs yet)
[!] fixed typo/error in Makefile 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@769 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-15 13:02:56 +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
cf8f01eaca [+] Added Polish translation by malymi45
[!] Removed hacks used to correct string length of translated strings 
[!] Avoid computing strlen twice when translating strings

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@673 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-15 18:47:19 +00:00
salvy
8b72c5085d [!] Removed SimulateDoubleDisabled option (was replaced with specific game hacks)
[!] Tyde R4300_Cop1_CTC1 (saves 7 ops)
[!] Made all instances of FPUControl[31] to 32bit (Compiler was already optimizing it off anyways)
[!] Fixed languages not being unloaded properly when switching to default language
[!] Tyde when loading languages

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@645 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-18 03:33:42 +00:00
Corn
3f1e612b52 [-] Reverted LWC1/SWC1 FPU OPs (caused to many issues need more work)
[!] Reorganized Build Config flags

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@643 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-13 13:12:34 +00:00
Salvy
7797f48dfb [!] Fixed typo in hash in all translations
[!] Only try to load language files once when system inits
[!] Fixed crash when number of language files changed
[+] Conserve the order of languages, regardless if their number was changed
[!] Increase ROM cache size for PHAT from 2MB to 4MB

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@616 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-17 20:47:22 +00:00
Salvy
ee3e1c854b [~] More clean ups to ROMFileMemory
[!] Made more robust when Allocating and freeing ROM Cache/Buffer
[+] Create memory pool for PHAT as well to avoid fragmentation and keep things neat

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@612 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-11 22:09:03 +00:00
Salvy
89b4f4bf4c [!] Fixed PHAT compatibility with recent changes
[!] Made conditions when using large Rom cache or Rom buffer, more safely to avoid any unwelcome bugs ;)
[!] Some clean ups 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@610 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-08 22:54:44 +00:00
Corn
95ee660a64 [+] Add 1.5MB of volatile RAM to the memory pool for textures (SLIM->5.5MB and PHAT->3.5MB)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@609 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-08 19:32:03 +00:00
Salvy
61b047c560 [!] Clean ups and fixes to previous commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@608 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-08 01:19:26 +00:00
Salvy
f5e0eff5b6 [!] Allocate the entire extra memory of PSP Slim and newer models (32mbs in total)
[+] Added a new option (Found in Global Settings) which allows you to use either Rom cache (default, slower but faster boot time) or Rom Buffer (faster, but slower boot time, since it has to buffer the entire Rom to the Ram, Note: Any Rom biger than 32mbs will fall back to use Rom Cache)
[!] Don't allocate RomCache if we load the whole ROM (Rom Buffer)
[!] Don't allocate memory for VideoManager (Was used to fall back if running out of VRAM, happens very rare [about 3 known games, we could use the volatile memory for this eventually?] )

All of these is a nop for PSP Phat.
Note: This is a WIP!!!!

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@607 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-07 01:42:32 +00:00
Salvy
335f91aa26 [!] Fixed Min/Max text overlapping in Adjust DeadZone Screen
[!] Typo from last commit that broke time/bat stats display_height
[!] Updated Spanish translation (Ricot)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@593 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-22 00:11:24 +00:00
Salvy
371ef273f5 [!] Fix translated text height is not calculated correctly when breaking lines
[!] Load translations to volatile memory and only unload if using a different language

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@589 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-19 18:53:27 +00:00
Salvy
e8e47d4f74 [!] Fixed memory leak in cheat feature
[!] Fixed translations switching to default when accessing pause menu (thnx Ricot for reporting it)
[!] Fixed language list being inconsistent (thnx Ricot for reporting it)
[!] One more fix when wrapping translated text (thnx pzu for reporting it)
[!] Simplify getting language name
[!] No longer register a sysevent handler when using volatile memory (Was breaking exception handler, also volatile memory now works in signed builds)
[!] Use scePowerLock to disable power switch and thus "disable" suspend mode (needed when using volatile memory)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@585 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-19 01:16:27 +00:00
Salvy
51aa042896 [!] Fixed ancient regression that was breaking most unicode strings
[!] Translations will fall back to use intrafont's manual linebreaking feature (our auto-linebreaking can't handle unicodes)
[+] Handle special chars as newline when parsing language files (Needed by intrafont's linebreaking)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@584 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-18 02:04:49 +00:00
Salvy
9d274a3e6f [!] Fixed translated strings not showing correctly when wrapping
[~] Simplified codebase abit more (All strings are interpreted as UTF8 anyways)
[!] Use INTRAFONT_CACHE_ALL instead of INTRAFONT_CACHE_ASCII (was causing some random issues with unicode strings)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@582 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-13 00:38:33 +00:00
Salvy
e358308590 [!] Made language switching friendlier (language changes will happen instantly too)
[!] More clean ups to remove redundancies 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@581 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-12 20:16:27 +00:00
Salvy
3c99ce9a80 [!] Alot of improvements and fixes to translation codebase (Is fully working now)
[+] Added Spanish translation by niccoooodu61

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@580 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-12 02:47:00 +00:00
Corn
fd193ee214 [!] Auto speed adjustment hack for Rayman/Donald duck/Tom and Jerry
[!] Removed some redundant checks for SOTE


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@550 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-20 14:09:13 +00:00
Corn
b0be7be5fa [+] added assert for PSP Dlist overflow
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@547 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-19 21:05:31 +00:00
Corn
0d6fe722c0 [+] Using volatile memory for PSP Dlists (saves 2Mbyte of regular memory)
[!] Reduced the time a texture is cached unless used (should help Phat owners a bit since it saves some texture memory)
[!] Added TLUT hack and disabled Loop Opt. for Star soldier-vanishing earth

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@546 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-19 10:23:03 +00:00
Corn
1ec3679b8f [!] Graphical fix for Tom and Jerry (T1 hack)
[!] Fixed BSOD in top gear rally (seems to have other issues too with floats)
[!] Fixed BSOD in Star Soldier - Vanishing Earth

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@545 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-18 16:09:20 +00:00
Salvy
58043ed2fc [!] Check earlier if texture is the same as last time around
[!] Some more optimizations in copying data with vectors (~50 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@517 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-04 22:07:26 +00:00
Salvy
4d6cddfcd3 [!] Fix clean scene not working properly when games are clearing the screen (PD)
[!] Simplify check to clear screen
[!] Decode fill color even when clearing screen (fixes bug in PD)
[!] Simplify DLParser_FillRect
[!] Load RDP_Combine in one go (saves 2 ops)
[!] Ignore mem0+mem1 blend in fillrect (is cheaper than handling in general blender after all..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@513 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-03 22:29:43 +00:00
Salvy
d93c3c2030 [!] Forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@506 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-30 22:19:48 +00:00
Corn
6c4d2df0c6 [!] Semi fixed Extreme-G2 with a hack(does not clear zbuffer and uses setprimdepth on geometry)
[!] Made old TMEM implementation compatible with recent changes in S2DEX
[!] Big overhaul on Debug Dlist formating to make it easier to read

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 16:54:45 +00:00
Corn
bbbababc74 [+] Optimized palette loading (bypassing copy to TMEM) for a speed up in some games
[+] Old TMEM emulation is a compile option in buildconfig.h
[-] removed redundant texture info in struct
[-] TMEM is not using VRAM (was no speed benefit)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@408 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-22 20:51:06 +00:00
Corn
7f4a5de08f [!] fixed Debug Dlist bug (crash in DKR)
[!] Alloc corrected meaning of video memory errors
[!] fixed Debi Dlist menu 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@372 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-22 23:30:41 +00:00
Corn
a245fff6cd [+] Show 32/16Bit choice in splash screen
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@359 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-17 10:53:15 +00:00
Corn
3fc10c60d8 [+] Enable to choose 32bit color mode at boot time by pressing "Circle" until splash screen shows up (default is 16bit)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@358 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-16 22:14:15 +00:00
Corn
efaf483618 [!] some small optimizations in code generator
[-] removed non working fix for TV output

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@343 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-07 14:57:50 +00:00
Corn
ba44b66443 [+] RumblePak / MemPak option added to global options (RumblePak shakes screen when active).
Note: Enable RumblePak before booting ROM (also enable clean scene if there is garbage left on screen when shaking)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@302 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-09 22:18:28 +00:00
Salvy
d05987ab22 [!] Use 32bit screenmode for tv out
[~] Moved PSP model info besides date

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@224 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-10 05:42:35 +00:00
Salvy
e34a3ea876 [!] Fixed clean scene no longer working in Mario Party and other games
[!] Simplified texture filter
[!] Checked if viewport changed earlier

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@214 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-30 06:50:12 +00:00
Salvy
36369a5ff1 [!] Fixed bug that caused to keep rehashing Conker's ucode
[!] Fixed bug that caused viewport to to be override if it didn't changed
[!] Made if viewport changed check less hacky and cheaper

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@212 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 21:16:19 +00:00
Salvy
083eefae8e [!] Reworked Viewport codebase (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@202 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-25 01:16:13 +00:00
Salvy
8589112152 [!] Replaced swizzle_fast with Raphael's version (Corn)
[~] Code clean ups
[~} Removed usage of pspFpuMin/pspFpuMax
[!] Proper fix for width issues in Lode Runner (removed hack I had for it too)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@184 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-12 12:41:42 +00:00
Corn
847867fce2 [!] Some clean up in graphics and audio
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@183 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-12 11:08:54 +00:00
Corn
0a546dcb0d [!] Improved hack for Wonder project J2 with a speed up (require setting texture check to 4 or so)
[!] Moved clean scene to BeginFrame()
[-] Removed residual fraction calculation in Insert matrix
[!] Corrected a few warnings

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@179 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-08 21:39:51 +00:00
Corn
ce3f7e8c2d [!] Fix for 16bit mode on TV, should look better now.
[!] Using CPU instead of VFPU in memcpy_patch() since VFPU breaks clay fighter 63 1/3
[!] Optimized the little endian memcpy()

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@175 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-05 20:59:18 +00:00
Corn
6a0971c195 [-] Reverted UpdateFrame() change
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@136 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 20:18:47 +00:00
Salvy
3443b0c543 [~] forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@131 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 07:05:00 +00:00
Salvy
98cefac7dc [~] Do not force saving when entering pause menu (Note : more testings is needed to make sure savings didn't get broken!!)
[~] Simplify our dialogs abit
[~] Separate UpdateFrame for GUI (more clean ups are needed though)
[!] Use ClearZbuffer for clean scene
[~] Made exception handler release only (breaks gdb in debug builds)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@130 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-13 07:00:52 +00:00
Corn
5205f89355 [!] Possible fix/hack for SM64 stars blend
[!] Calling proper function for clearing Zbuffer(also adding proper cast for passed variable)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@129 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-12 23:12:34 +00:00
Salvy
ebeb71bb76 [!] Fixed DoubleDisplay not disabling
[+] Added roms.ini from 636 (feel free to modify it)
[~] Disabled DD in Cruisn' Exotica (cures crash before race)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@121 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-02-07 23:23:44 +00:00