Commit graph

273 commits

Author SHA1 Message Date
Corn
4e7d69e889 [+] Dynarec: Added K0 and K1 to available cashed regs
[!] Dynarec: Skip sign extension on GP and SP regs on update
[!] Dynarec: Optimized ADDU when when source reg is R0
[!] Dynarec: Optimized ADDUI not to store sign extension on SP reg
[+] Dynarec: Implemented LWC1 and SWC1 to load and store directly to FPU
[!] Fixed some ASSERTs
[-] Removed automatic fragment dump on ROM exit

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@641 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-10 14:55:18 +00:00
Corn
85f3b021fe [!] Fixed various compile errors for debug versions (Dynarec stats work now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@640 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-03 19:26:29 +00:00
salvy
77a7fa15ea [!] Removed completely overhead of "Disable Simulate Doubles" (we now patch the R4300 jumptable as needed)
[~] Removed some unused code

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@636 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-30 22:12:38 +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
ec58ebcab3 [!] Updated French translation (niccoooodu61)
[!] Huge clean up (redundant code, unnecessary checks/asserts etc) in our RomFile code
[!] Removed nasty hack I had when either reading to header of Rom or loading Rom completely (everything is allocated separately now to avoid this sort of bugs..)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@613 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-13 00:42:15 +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
Corn
b5aeded531 [!] Made ROM cache lines equal length regardless of cache size
[-] Removed debug info
[!] Changed description text for ROM buffer/cache 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@611 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-09 19:52:29 +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
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
7acfbde220 [!] Updated Spanish translation (Ricot)
[!] Updated French translation (niccoooodu61)
[!] Tyde compile flag to disable compressed Roms support, also disabled remaining code used for it.
[~] Reverted Rom cache size change for Phat PSPs
[~] Some small cleans ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@606 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-04 21:49:35 +00:00
Salvy
fe2543c589 git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@605 42e9bfbe-799a-4a2d-bad1-236e862a387a 2012-02-03 18:15:10 +00:00
Salvy
f5151c39bb [!] Forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@604 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-03 18:13:37 +00:00
Salvy
75291b71c6 [+] Added Italian translation by kakarotto
[+] Added Dutch translation by grivy
[!] Is now possible to hash/dump your own strings erg hash.txt (Just use DAEDDAED value in your language file to prompt Daedalus to do so)
[~] Minor corrections to Spanish translation
[-] Removed compatibility with compressed ROMs (Daedalus no longer reads compressed ROMS, didn't work well in the PSP due the limited amount of memory anyways, and just the unzip lib alone added a good amount of bloat to the binary)
[!] Updated unzip lib from 0.15 to 1.01h

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@603 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-03 02:00:27 +00:00
Salvy
eecd8dd480 [!] Reduced number of ucode cache entries to 6 (Max ucodes I ever seen per game is 4 anyways)
[!] Don't cache ucodes globally, only per game (to avoid hitting max of entries and spreading too far from the first entry)
[!] Revert change to chunk size for ROM cache

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@600 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-28 03:03:03 +00:00
Corn
66702cec6d [!] Bigger cover art picture and other rearrangements in classic GUI
[!] Changed chunk size for ROM cache
[!] added -fpredictive-commoning to makefile, 5% speed up in some cases (tnx Salvy)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@599 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-27 19:12:26 +00:00
Salvy
7625d128f8 [!] Updated Russian translation (pzu)
[-] Removed all compatibility codes from roms.ini
[-] Removed GUI selector option (no longer used)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@598 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-25 00:23:51 +00:00
Salvy
c2e9eab309 [!] Updated Brazilian Portuguese (Scarecrow)
[!] Simplified translate parsing

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@595 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-23 00:26:46 +00:00
Salvy
337892e989 [!] Is now possible to translate savestate menu, battery/time status, splash screen, daedzone screen and other strings.
[!] Some clean ups in translation codebase
[!] Only fetch language files once
[!] Updated Brazilian Portuguese translation (Scarecrow)
[!] Updated Spanish translation (Ricot)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@591 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-20 22:18:30 +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
c610f2dee2 [!] Avoid translating strings when hash fails
[!] Increased translated text array

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@586 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-19 01:25:41 +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
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
Salvy
7cea9c8bcc [+] Use a more robust method to identified strings (we'll hash each string and thus we can translate any string without having all the redundant stuff all over our strings)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@577 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-11 20:31:01 +00:00
Salvy
0499b589ce [!] More work and clean ups when loading languages to GUI
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@575 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-09 02:51:10 +00:00
Salvy
f9e64a4a86 [+] Added menu to switch languages (WIP!!!) can be found in Global Settings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@574 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-08 03:02:04 +00:00
Salvy
98f12c4b9f [!] Identified most strings to be translated (We can start translating now)
[!] Some improvements and clean ups to Translation codebase

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@573 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-07 00:54:45 +00:00
Salvy
e48a3db53b [+] Daedalus can now be translated to any language (not used yet, will add Spanish translation as example and leave the rest to the community)
[~] Some clean ups to some redundant code

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@572 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-05 02:19:08 +00:00
Salvy
1fe520148d [+] Added option to enable Corn's newly hack to speed up or smooth up games with really low frame rate (ex Earthworm Jim, Golden Eye, Donald Duck etc)
Note: Option can be found in Advanced Options -> Video Rate Match

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@554 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-21 01:44:48 +00:00
Corn
6c19002512 [!] Improved sync filter for audio and speed matching
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@552 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-20 19:30:00 +00:00
Salvy
b5bc8bc866 [!] Disable Dynamic Loop Optimization by default (It causes instability and other issues in many games, to enable go to Advanced Settings, enable at your own risk!)
Note: Make sure to reset your setting before using this rev -> Global Settings -> Reset Settings (follow on-screen instructions)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@548 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-20 00:54:01 +00:00
Corn
e32c8c6db6 [!] Sprites are somewhat improved in DKR (still needs work)
[!] Fixed PD boot crash (tnx Bdcanay and Salvy)
[!] Share same global variable for special address in PD, DKR and CBFD

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@401 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-17 12:43:12 +00:00
Salvy
09c9e42b1c [!] inlined GetChunkStartAddress and AddressToChunkMapIndex (saving ~20 ops)
[!] Made ContainsAddress debug only

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@363 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-19 06:53:41 +00:00
Corn
b8863a3e53 [~] Keep texture in the cache a little longer to avoid swapping textures in and out
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@356 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 21:41:14 +00:00
Salvy
f98d6981d4 [!] Clean up options etc (Removed Stack Optimisation option, it works perfectly fine with all the games, there's no point to have an option for it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@355 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 21:28:54 +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
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
458a14a685 [+] Optimized/rewrote Process PIF (cmds are processed in one go now, )
[!] Refactored ProcessCommand in PIF (bye bye redundant code)
[~] Only call GetPreciseTime when we need to delay in framelimeter (Corn)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@296 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-04 20:52:44 +00:00
Corn
cc709507ff [!] Fix for PHAT hanging with frame limiter enabled
[-] removed check for gVblsSinceFlip since it can't be zero at the division

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@294 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-06-02 22:08:25 +00:00
Corn
5ae69dabbb [!] fix compile warnings
[!] fix clear option dialogs when not using exit confirmation
[-] remove unneeded variable for frame limiter

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@292 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-31 21:49:50 +00:00
Salvy
88726ba6f1 [-] Removed EasyMessage lib (was causing high usage of memory and thus crashing phats when pressing home)
[+] Implemented new dialog lib (WIP!!!!)
[-] Removed debug options which aren't longer needed.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@289 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-29 06:28:44 +00:00
Corn
047ca2a26e [!] No need to check same thing twice in frame limiter
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@284 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-19 20:50:56 +00:00
Salvy
971b20520e [!] Several clean ups here and there
[~] Removed pilot wings' shadow hack (this is now handle by a cheat, only added the U version, I'll add the rest later)
[+] Added cheatcode deletion (this is disabled since is not used, will enable it if is a highly requested feature)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@279 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-14 18:05:55 +00:00
Corn
d6511de290 [!] Better accuracy and further optimizing Frame limiter
[+] Added speedhack for Automobili Lamborghini

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@274 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-06 21:10:52 +00:00
Corn
d871d9e43d [!] Some additional fixes to framelimiter and FPS screen info
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@273 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-05 22:19:15 +00:00
Corn
f3feb6ab2d [!] Reworked frame limiter code and added sync to half speed as well as full speed(useful for hyperhackers cheat code in SM64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@267 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-01 10:45:30 +00:00
Corn
0e193830e1 [!] Fixed proper apply cheat intervals
[!] Fixed Compiler Warning in 4300.cpp

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@265 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-30 08:00:19 +00:00
Salvy
e638274721 [~] More corrections to the cheat frequency option
[~] Removed a couple of dead variables

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@264 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-29 22:32:08 +00:00