Commit graph

2309 commits

Author SHA1 Message Date
Wally4000
0e4dd5604e ThreadHandle not defined correctly. Breaks in new toolchain 2021-10-16 17:25:20 +11:00
Wally
299d82978d Revert "Revert "sorta fixed frame limiter and enabled win32 threaded audio""
This reverts commit 5b99ec13c8.
2021-07-18 11:09:50 +10:00
Wally
5b99ec13c8 Revert "sorta fixed frame limiter and enabled win32 threaded audio"
This reverts commit 8791abed65.
2021-07-18 11:09:07 +10:00
Wally4000
3013f10369 Remove some Curly braces in Pause Screen
Add "Battery is charging string" to remove random garbage on screen
2021-02-22 12:47:51 +11:00
z2442
c91176dfb4 Enable 02 again 2021-02-20 14:37:19 -05:00
z2442
a34ab37f37 This should be NULL 2021-02-20 13:53:54 -05:00
z2442
091a48c042 Remove vita refrence from about screen. 2021-02-20 13:33:16 -05:00
Ben Slater
3c3c48b749 Added .vs to gitignore to stop vs caches from uploading. 2021-01-26 22:54:44 +11:00
z2442
383621ba0d Add window resize + fullscreen toggle 2020-12-31 08:52:37 -05:00
z2442
8791abed65 sorta fixed frame limiter and enabled win32 threaded audio 2020-12-22 13:58:12 -05:00
z2442
6cb37a2040 Mapp z button 2020-12-21 14:34:42 -05:00
z2442
bbfe479234 Add analog stick support 2020-12-21 14:03:36 -05:00
z2442
4fee3bc6d3 Basic Xinput Support for windows! 2020-12-21 13:00:32 -05:00
z2442
fe552bb2ef Fix linking issue 2020-12-21 11:24:24 -05:00
z2442
3039f6a652 Windows support! 2020-12-18 13:14:27 -05:00
Wally4000
976e24ddd1 Update Git Ignore to reflect build changes
Get rid of GetTargetU32 which is unsafe on 64 bit platforms
2020-08-30 09:36:56 +10:00
Wally4000
00f6fc054f Fix macOS Build 2020-08-25 15:26:42 +10:00
Wally4000
c83e5fe929 Update CMakeLists / Daedalus build script to make it less complex 2020-08-25 15:10:43 +10:00
Wally4000
81fcb6b354 Remove GraphicsPlugin file 2020-08-22 20:55:32 +10:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
f9a986a6cc S2DEX fixes
*Corrected inclusive typos for partial and no rotation modes (fixes gaps in V-Rally and Worms sprites)
*Implemented flipX/Y for full rotation (Worms uses this when the character fall down)
*Defined flags for flipX/Y
2020-08-10 22:04:58 -07:00
Carlos R
5470cebe96 Re-implement ConvertYUV16 for ConvertImage
*This is based off the accurate tmem implementation (ConvertTile), also simplified how we dispatch this texture format
*Removed workaround when the pallet is address is null, this no longer needed due to recent fixes
2020-08-09 23:38:01 -07:00
Carlos R
47652f082e Refactored S2DEX_BgCopy/Bg1cyc
These use the same struct and SpriteLoad function
Added list of games that use S2DEX, useful for testing
2020-08-09 17:02:48 -07:00
Carlos R
ff9f4811a2 Fixed typo in Sprite2D 2020-08-09 17:00:48 -07:00
Carlos R
6311dba429 Added savestate support to the Linux build
Usage is: There's 9 slots available for savestes, pressing ctrl + 0-9 will create a savestate and pressing 0-9 will load the savestate
*Properly exit the emulator when the Daedalus window is closed, also the emulator can now be exited when pressing escape
*Properly disabled gamepad support, also added a define to re enable once it gets implemented with SDL
*Moved key polling events to a callback
2020-08-09 13:32:21 -07:00
Carlos R
91f2641796 Removed workaround for incompatible savestates that is no longer needed 2020-08-09 12:06:55 -07:00
Carlos R
6a1fbfca52 Fixed PSP path for savegames and FindFilename usage 2020-08-09 11:59:04 -07:00
Carlos R
5b3a42c749 TMEM clean ups
*Moved TMEM Copy routines to their own file (TMEM.cpp)
*Avoid loading tmemload info twice when the tmem lookup entry is invalid
2020-08-08 10:42:55 -07:00
Carlos R
59a8d35114 Ensure we point to the correct instruction for Sprite2D 2020-08-05 08:54:39 -07:00
Carlos R
264ded00a8 Refactored S2DEX, FB and Sprite2D 2020-08-02 15:46:55 -07:00
Carlos R
d1eebabe55 Fixed PSP build
Tidy AudioPluginPSP
2020-08-02 15:23:48 -07:00
Carlos R
01a3356327 More improvements for Sprite2D
*Fixed typo in the bound check from last commit
*Added hack for WCW Nitro, fixes sprite issues, this game should be playable now
*Refactored Sprite2D for consistency (same structure as S2DEX)
2020-08-01 14:29:49 -07:00
Carlos R
29f3709776 Accuracy and optimizations for Sprite2D ucode
*When executing sprite2d instructions, fetch the next instructions at once and bail out sooner when there's an invalid instruction
*Avoid using Swap function for FlipX/Y, is faster to manually swap
*Properly set left, top, right and bottom coordinates
*Properly set texture width, we were wrongly using ImageW, also renamed fields that were named incorrectly in Sprite2Struct
*Added bound checks
2020-08-01 13:57:26 -07:00
Carlos R
02f3b02352 Optimizations for Convertile (accurate tmem)
*Optimized ConvertRGBA32 (this is the last function that could be optimized \o/)
*Fixed up ConvertYUV16 and optimized YUVtoRGBA
2020-07-30 23:11:20 -07:00
Carlos R
5f45683d74 Fixed check that determines if rom format its handled 2020-07-28 07:50:48 -07:00
Carlos R
c59cd8759c Added ConvertFormats.h 2020-07-26 11:21:54 -07:00
Carlos R
bfffb7be1c Removed duplicate from convertimage/tile
*Moved all the conversion routines to ConvertFormats.h
*Fixed a lot of wrong bitshift operations (Rinnegatamante)
2020-07-26 11:18:46 -07:00
Carlos R
b06ba224f4 Roms.ini fixes
*Fixed a bug causing some roms to not get properly parsed (thanks Rinnegatamante for the fix!)
*Added roms.ini entries from the Vita repo, also deleted duplicate entries
2020-07-19 14:51:17 -07:00
Carlos R
37db2e4337 Removed -1 from uViHeight/uViWidth
*This was actually breaking the fix for New Tetris.. Originally we were doing -1 for the clear screen check in Fillrect, this been updated too. The check in SetScissor did not need to be updated as it was already clamping when the if the N64 resolution was equal or greater..
*Always clear z buffer first in fillrect
2020-07-18 13:15:58 -07:00
Carlos R
c01cb5ac90 More Improvements for Accurate TMEM
*Added macro for A8R8G8B8 conversion
*Make the tile conversion code clamp reads to the 4k tmem space (thanks strmnnrmn!)
*Moved DAEDALUS_ACCURATE_TMEM to be platform defined since this feature should not be enabled for low-end systems, ex PSP
2020-07-18 11:23:50 -07:00
Carlos R
80bb566033 Implemented YUV16 for accurate TMEM 2020-07-16 22:57:46 -07:00
Carlos R
7a7706eb72 Merge remote-tracking branch 'origin/master' 2020-07-16 20:15:14 -07:00
Carlos R
757505fb43 Optimization for accurate TMEM
Optimized ConvertIA16, this an old change I had that I forgot to commit :/
2020-07-16 20:14:13 -07:00
Wally4000
d782bc73e3 Readded shadows :) 2020-07-16 21:04:04 +10:00
Wally4000
24bb0cbe23 Update Intrafont with latest sources from https://gitlab.com/HaydenKow/libintrafont
This fixes the horrible menu issue we've been having
2020-07-16 12:34:27 +10:00
Carlos R
e9e0999540 Fixed crash in Pokemon Puzzle League, Fifa 98 and other games
This is a workaround to prevent crashing the emulator when trying to load excessive large textures
2020-07-14 21:59:41 -07:00
Carlos R
e0070b6861 Fix for blast corps and more bound checks
*Properly trigger DP interrupt, some games are very sensitive when we ignore it. Blast Corps no longer hangs after the Rare logo. Also ensure to trigger the interrupt when frameskip its enabled to avoid stalls
*Added bound checks for DLinMem and DLCount
*Disabled invalid address bound checks for the PSP. With the recent changes, now its safer to disable it
2020-07-12 15:10:16 -07:00
Carlos R
3de6b8210e Fixes and improvements for hle cache and mempack support
*Fixed mempack support when savetype is not unknown, for simplicity we always assume the presence of the mempack. Ill add proper support to disable it later
*Removed force flag for Save_Flush, this was a legacy flag mainly used to manually allow users to force saving
*Moved hle cache directory inside the SaveGames folder and removed all the duplicate code added when it was moved to its own directory
*Fixed accurate TMEM for the PSP (still disabled on the PSP)
2020-07-12 14:10:40 -07:00
Carlos R
b39e6d119e *Do not set the texture tile and scale when texture its disabled, also handle properly when the texture scale its 0, DKR does this
*Convert segment address to a physical address (fixes an ancient bug discovered by recent changes to RDPSegAddr (fixes a crash in DKR)
2020-07-11 15:29:31 -07:00
Carlos R
b37c629d8a *Defined DAEDALUS_SILENT for release builds to
*Fixed batch test for Linux and tidy when setting path for executable
*Fixed rom.db for linux
2020-07-11 15:10:55 -07:00