Commit Graph

3632 Commits

Author SHA1 Message Date
Blake Warner a50281d820 tweaked linux build 2022-05-02 09:38:40 -04:00
metronidazole 2ea13b0ff8
Linux GLideN64 compilation fixes (#16)
* Initial gliden64 src port for linux

* Further fixes for linux compilation

* Fixed compiling on Windows
2022-05-02 08:27:09 -04:00
Blake Warner f495dd4209 fix destructor exception 2022-04-19 03:22:45 -04:00
Blake Warner 4353f8d3d9 added sepia filter 2022-04-01 22:25:11 -04:00
DaMarkov 4f22e39d63
Tiny frame buffer emulation fix. (#15)
Co-authored-by: DaMarkov <DaMarkovZED@gmail.com>
2022-03-31 14:29:28 -04:00
Blake Warner 746be9cfa1 expand tmem 2022-03-29 17:42:18 -04:00
DaMarkov 0b4909721c
Added `gfx_force_43_enabled()` again (#14)
Co-authored-by: DaMarkov <DaMarkovZED@gmail.com>
2022-03-27 00:53:30 +01:00
DaMarkov 256ee94297
Added Function to set Overscan (#13)
* Added `gfx_set_overscan` to set overscan in GLideN64.

* Set overscan as default.

Co-authored-by: DaMarkov <DaMarkovZED@gmail.com>
2022-03-26 11:23:33 -04:00
Blake Warner 9b2ff380e0 disabled txdbg logging 2022-03-25 10:29:16 -04:00
Blake Warner a8979b72a7 cleaned up highres enable 2022-03-25 02:47:38 -04:00
Blake Warner ba9f81043b bf 2022-03-25 02:06:43 -04:00
Blake Warner 6fa6202f12
Merge pull request #11 from xoascf/master
Update from upstream
2022-03-25 01:52:15 -04:00
Blake Warner d30c8fa31b
Merge branch 'master' into master 2022-03-25 01:52:05 -04:00
Blake Warner fe0b5c34be
Merge pull request #10 from DaMarkov/infinite-loop-fix
Fixed an infinite loop
2022-03-25 01:43:48 -04:00
Blake Warner 2bd852508c
Merge pull request #9 from blawar/hd-textures
HD Texture Support
2022-03-25 01:42:20 -04:00
Amaro Martínez d96c679436
Merge branch 'master' of https://github.com/gonetz/GLideN64 2022-03-14 00:45:28 -05:00
Rosalie Wanders b0385c5100 GLideNUI: allow resizing 2022-03-13 11:27:34 +07:00
DaMarkov 80ade48fb3 Introduced an upper limit to the loop in `_ProcessDList`. 2022-03-05 22:49:10 +01:00
DaMarkov f8d114de20 Made HD texture mode not the default anymore. 2022-03-04 14:32:42 +01:00
DaMarkov 9c60bf101f Cleanup 2022-03-04 14:31:04 +01:00
DaMarkov 9c187aa79f Removed debugging code. 2022-03-04 14:26:43 +01:00
zilmar 37c09949b3
Fix Vs2015 compile issues (#2665)
* fix vs2015 compile issue
2022-03-04 18:35:29 +07:00
Blake Warner 14c36475da added rect scaler 2022-03-02 02:30:06 -05:00
Blake Warner af0bea46f4
Merge pull request #4 from DaMarkov/no-window-mode
Fixes GLideN64 crashes
2022-02-27 11:08:33 -05:00
Blake Warner fd2d68c372
Merge pull request #7 from DaMarkov/fix-gSPDisplayList
Added null pointer checks
2022-02-27 11:08:22 -05:00
Blake Warner 417f3dac67
Merge pull request #8 from DaMarkov/add-force43
Added `gfx_force_43_enabled()`
2022-02-27 11:08:14 -05:00
DaMarkov ea699646ec Added `gfx_force_43_enabled()` that returns true if the aspect ratio 4:3 is forced. 2022-02-24 18:55:04 +01:00
DaMarkov 15b6650851 Added more null pointer checks. 2022-02-23 04:58:50 +01:00
DaMarkov 4897b053a9 Added more null pointer checks to avoid a crash in `RSP_LoadMatrix`. 2022-02-23 04:40:19 +01:00
DaMarkov f2df41128c Added null pointer check to `gSPLight`. 2022-02-23 04:02:55 +01:00
DaMarkov e07e8c69df Added a null pointer check to `gSPDisplayList`. 2022-02-23 03:59:56 +01:00
Blake Warner b595b9646c
Merge pull request #6 from DaMarkov/fix-texcoords
Fixed 2D graphics alignment problem
2022-02-20 09:08:05 -05:00
DaMarkov ddd5fb1461 `graphics2D.correctTexrectCoords` is now set in `Config.cpp`. 2022-02-20 14:57:08 +01:00
Blake Warner cc22862e39
Merge pull request #5 from DaMarkov/pixelformat-error
Removed error message when `SetPixelFormat()` fails
2022-02-20 08:12:10 -05:00
Sergey Lipskiy 1a711257ed Log unknown gbi command. 2022-02-20 13:48:14 +07:00
Sergey Lipskiy 8a0752a2f2 Update cmake/Readme.txt 2022-02-20 13:47:29 +07:00
トトも efc88a2d5b
README Formatting (#2636)
* README Formatting
2022-02-20 13:12:10 +07:00
Francisco Zurita 5ee1de6ec1 Detect the Angle renderer
Also, in Android disable EGL image if using the angle renderer and disable fragment based depth.
Neither of the above seem to work in Android with the Angle renderer
2022-02-20 11:22:27 +07:00
Sergey Lipskiy 66a71307e8 Disable color buffer copy for JFG in custom settings.
FBInfo should control all copies to RDRAM.
2022-02-20 11:16:49 +07:00
Sergey Lipskiy 9e5564dc7c Make FBInfo working when when "copy to RDRAM" option is disabled.
By design, FBInfo should control all copies from/to RDRAM.
When it is enabled, other options should be disabled.
IN practice it does not always work yet.
2022-02-20 11:16:49 +07:00
Sergey Lipskiy ccc8587367 Allow copy color buffer to RDRAM when current buffer is null.
Problem: JFG crosshair has incorrect color when FBInfo and Aux buffer copy are enabled.
"Aux buffer copy" copies the buffer and removes it.
If aux buffer is the current one, the current buffer set to null.
FBInfo uses ColorBufferToRDRAM to copy color buffer ti RDRAM.
ColorBufferToRDRAM does nothing when current frame buffer is null, so
FBInfo can't copy the buffer.

Solution: allow copy to RDRAM when current buffer is null.

Note: copy to RDRAM when current buffer is null was disabled in
commit bbc71c3f0 to fix problem "Snowboard Kids causes segmentation fault #477"
Now Snowboard Kids does not crash here.
2022-02-20 11:16:49 +07:00
Sergey Lipskiy 342683d2c6 Allow to draw aux (not produced by gDPTextureRectangle) texrects
when current frame buffer is null.

Problem: FBInfo does not work when Aux buffer copy is enabled.
"Aux buffer copy" copies the buffer and removes it.
If aux buffer is the current one, the current buffer set to null.
FBinfo renders RDRAM buffer to the frame buffer using GraphicsDrawer::drawTexturedRect.
It does nothing if GraphicsDrawer::_canDraw() returns false.
_canDraw() returns false if current buffer is null.
Thus, pixels from RDRAM are not copied.

Solution: Always render aux texrects.
2022-02-20 11:16:49 +07:00
Sergey Lipskiy 7eef2b3684 Code refactor: get rid of Windows macro min and max. 2022-02-20 11:16:49 +07:00
DaMarkov 24d604f83e Enabled `correctTexrectCoords` flag. 2022-02-19 22:44:56 +01:00
DaMarkov 4bb89a43d0 Removed error message when `SetPixelFormat()` fails. 2022-02-19 15:03:03 +01:00
Sergey Lipskiy f4d83cd9bd Ensure that mipmap shader will not try to load HD textures from atlas. 2022-02-19 13:39:50 +07:00
Rosalie 941e054157 GLideNUI: copy M64P_GLIDENUI fix to Config_LoadConfig() aswell 2022-02-19 11:50:15 +07:00
DaMarkov 91cfc2b06c GLideN64 doesn't like it when it is running without an window.
This PR fixes a few places so GLideN64 doesn't crashes any longer.
These are all mostly null pointer checks.
2022-02-15 22:50:30 +01:00
DaMarkov 7d6fa0bfe1 Added a function to switch between .htc and .hts files. 2022-02-14 12:34:41 +01:00
Sergey Lipskiy 49373fde71 Correct FrameBuffer::isAuxiliary()
If buffer's size is 8bit, it is an auxiliary buffer.

Fixed homebrew toonshading not working properly. #2644
2022-02-14 18:16:01 +07:00