Commit graph

54 commits

Author SHA1 Message Date
Wally4000
ec99921fb9 as per last 2023-06-26 22:11:40 +10:00
Wally4000
5c7d7d48a6 Updated a bunch of pointers so they're unique. 2023-06-26 22:11:29 +10:00
Wally4000
b5ed8ac792 Revert "Remove redundant Stream.cpp file"
This reverts commit 5e38dee8e3.
2023-04-25 11:01:34 +10:00
Wally4000
5e38dee8e3 Remove redundant Stream.cpp file 2023-04-23 21:59:18 +10:00
Wally4000
56ccc1a79c Use Smart Pointers for ROMFile 2022-07-17 20:43:08 +10:00
Wally4000
07387899ca use more std::filesystem 2022-04-20 20:06:58 +10:00
Wally4000
b0185d6441 Begin introducing std::filesystem more 2022-04-19 20:22:58 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
wally4000
4fbc81a4ac Use std::max and std::min 2021-10-23 22:12:40 +11:00
Wally4000
a1474dd68a Use Toolchain provided IntraFont / KUBridge. Don't build as PRX for now 2021-10-16 17:53:40 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
5a403c9f24 Refactored rom write support and clean ups for ROMBuffer.cpp 2020-06-12 17:17:58 -07:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
Carlos R
7937cc748c * Implement missing dom1/addr1/3
Fixes bug in Paper Mario where a save slot will get duplicated also fixes a bug in Majora's Mask where link did not have a shield and sword during the first movie
2020-05-16 15:02:35 -07:00
=
1c342d8c8f Revert all initialiser list variables. 2020-05-04 12:24:21 +10:00
z2442
e3e8e2f920 Fix loading text for large rom buffer 2019-10-18 20:43:17 -04: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
4e04cdc3b6 Finished adding the remainder of the Assert management / C11 stuff in the Core.
Removed Registers.cpp from main build as is not required
2019-03-23 22:09:21 +09:00
Ben Slater
31dc7bae9a Updated Intrafont from Joel16's repo 2019-02-27 18:16:27 +11:00
Ben Slater
800b53bc5f Removed Intrafont shadows 2019-02-27 17:23:06 +11:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
z2442
fd9e8baa34 one for intrafont fix & change to ui code to compile for gcc 8.2 2019-02-13 21:42:00 -05:00
mrbenslater
6b476e65ab Readded PSP_IS_SLIM Variable. 2019-01-23 18:13:09 +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
db6350091e Removed KUBridge and replaced it with a small utility to detect PSP based on VRAM 2019-01-22 22:02:54 +11:00
Wally
0111275f23 Move a lot of debug stuff out of Release Build 2019-01-21 14:26:00 +11:00
z2442
9696932b05
Update ROMBuffer.cpp
Clean up for buffering text
2018-10-03 21:08:04 -04:00
Paul Holden
7cfc7d16fa [~] Reference headers relative to Source/ 2013-06-04 22:02:31 +01:00
strmnnrmn
43c7c48bab [~] Rename RomInfo::szFileName to mFileName
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1737 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-06-01 08:40:13 +00:00
strmnnrmn
8ea9e2079a [!] RomBuffer::Close shouldn't make assumptions that RomBuffer::Open suceeded
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1571 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:25:12 +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
strmnnrmn
de11411cbc [~] Tidy up GraphicsContext Clear functions - the overloading was a bit confusing so I renamed them. Clear(bool,bool) only ever took (true,true) as arguments, so just call it ClearToBlack and simplify the code a bit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1089 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:22 +00:00
strmnnrmn
6e2a84a03e Remove some dead code from ROMBuffer.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@980 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:58:57 +00:00
strmnnrmn
27a5885334 Merge some cross-platform fixes to ROMBuffer.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@978 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:04:29 +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
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
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
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
salvy
4bd5078b16 [!] Increase both MAX_VERTICES and MAX_CLIPPED_VERTS (Fixes Flying Dragon crashing)
[!] Fixed debug build
[~] Silenced some annoying asserts

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@756 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-22 19:37:56 +00:00
salvy
86bf8344e9 [!] Simplify a few more things in Memory.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@744 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 07:07:46 +00:00
Salvy
3ad78170bc [!] Fixed potential bug in our home button implementation with signed builds under FW 6XX or higher
[!] Slight change to our loading screen for ROM buffer

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@617 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-17 21:11:50 +00:00
Corn
ac5f60f2e4 [!] Fixed loading screen showing progress bar
[!] fixed text for buffer modes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@615 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-13 18:33:50 +00:00
Salvy
1e18d8e339 [+] Added quick loading bar for ROM buffer (based from our compressed Rom loading bar, pretty much a test, doesn't work with many games, ex SM64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@614 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-13 01:40:28 +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
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
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