Commit Graph

  • 015e8e9212 Drive board uses the value 0xFF (not 0x00) on ports 42 and 45 to stop all effects when port 46 is set to 0xFF; fixes FFB effects continuing after game ends gm-matthew 2023-06-26 10:56:04 +01:00
  • 84aa972ef2 Add description of swtrilgy patch from MAME Matthew Daniels 2023-05-16 02:49:35 +01:00
  • ac0e6407b4 Games.xml: Removed seemingly unnecessary swtrilgy and swtrilgya patches, which should re-enable JTAG configuration and fix Endor Death Star tunnel shading Bart Trzynadlowski 2023-05-07 21:51:22 -07:00
  • 583d237b2b Fix GCC 13 build. ToBul 2023-05-06 19:36:42 +01:00
  • 18f3c23a9f Work around to prevent I/O error after a while on fishing games with tension CapitaineSheridan 2023-03-31 10:36:50 +02:00
  • 813edb8218 Crosshair optimization: -create crosshairs only once in Init() instead of created them at every cycle -use matrix scale to apply the aspect ratio CapitaineSheridan 2023-04-05 15:03:32 +02:00
  • 6993dfcfb0 Makefile.Win32: fixed detection of Windows Command Prompt for rmdir command Bart Trzynadlowski 2023-03-28 15:38:43 -07:00
  • 87de86f7d1 Crosshair: use actual adjusted viewport resolution (configuration resolution is not the same thing). Fixes crosshair alignment for resolutions with non-Model 3 aspect. Bart Trzynadlowski 2023-03-17 23:00:44 -07:00
  • 95fc08e0a3 Windows app manifest added to enable PerMonitorV2 DPI awareness Bart Trzynadlowski 2023-03-15 18:24:01 -07:00
  • f497de50d1 Update README.txt ToBul 2023-03-15 21:38:14 +00:00
  • 5fdb50a869 README.txt: Updated Section 5 (video settings), squeezed everything back into 80 columns, changed 'Virtua Fighter 2 '98' to 'Virtua Striker 2 '98' in Section 10 Bart Trzynadlowski 2023-03-14 17:56:17 -07:00
  • b5ca365928 NetBoard: guard against freeing null pointers and INetBoard needed a virtual destructor (was causing crashes on exit on some systems) Bart Trzynadlowski 2023-03-14 11:18:20 -07:00
  • 3848d276da Autobuild script update following crosshair update CapitaineSheridan 2023-03-14 08:43:24 +01:00
  • abc2900770 m_crosshair is not needed and the config should be checked every frame because otherwise Alt-I command was broken (the number of crosshairs to render is mapped to a UI key) [Bart] CapitaineSheridan 2023-03-13 08:55:58 +01:00
  • a319bbee0c Better optimisations. Moved all UI rendering from Main to CCrosshair. Take care of syntax about crosshair style. CapitaineSheridan 2023-03-12 11:22:27 +01:00
  • b19fdb6a77 Change Media folder to Assets folder. Naming variable convention. Command line change -crosshair-style = vector|bmp. Config ini variable change CrosshairStyle = vector|bmp. CCrosshair::DrawCrosshair optimisation. Modifying UpdateCrosshairs() to eliminate global variable. CapitaineSheridan 2023-03-12 11:15:27 +01:00
  • 1b066fe4b3 Crosshair refactor -add a new separate class for crosshair -crosshair coordinates are calculated by matrix instead of recreating every object at correct coordinates -add ability to scale crosshair by dpi -add ability to use bitmap crosshair (located in ./Media/). 32bits bmp format + alpha -cmd line "-bitmapcrosshair" or "-vectorcrosshair" and/or BitmapCrosshair=0|1 in config file -these changes are only for lost world game with Crosshairs=1|2|3 CapitaineSheridan 2022-12-23 17:36:26 +01:00
  • 0cc1b37f95 README.txt: Fixed a typo, end-of-sentence formatting in section 10, and added ECA cheat codes as per Brian Troha's suggestion Bart Trzynadlowski 2023-03-13 20:10:08 -07:00
  • 05c57abc2f README.txt: fixed typo Bart Trzynadlowski 2023-03-11 11:08:10 -08:00
  • 188bb5c285 README.txt: Added region codes to section 10 (c/o Brian Troha) Bart Trzynadlowski 2023-03-10 15:00:24 -08:00
  • 7e7686c6f2 Games.xml: Corrected name of Virtual On 2 to Cyber Troopers Virtual-On Oratorio Tangram Bart Trzynadlowski 2023-03-10 14:59:10 -08:00
  • ae5af4c036 Fixed window position config storage and command line parsing Bart Trzynadlowski 2023-03-04 11:59:49 -08:00
  • 83144f80b7 Config nodes: added the ability to clear out node values or create empty leaf nodes Bart Trzynadlowski 2023-03-04 11:58:52 -08:00
  • 043f901c80 comply to @trzy requested changes # joachim 2023-03-04 12:40:57 +01:00
  • 4a64a0df71 comply to @trzy requested changes joachim 2023-03-04 01:04:25 +01:00
  • c301a574ed -pos=<x>,<y> -> correct error when not present joachim 2023-03-02 14:30:12 +01:00
  • c97e3acce7 Add two video settings: -pos=<x>,<y> Position [Default: centered] -borderless Windowed mode with no border joachim 2023-03-02 14:07:06 +01:00
  • 5fa190490d Allow joystick to be fetch if windows has no focus in SDL input mode. This is usefull for multiple instance of supermodel networked on the same machine. joachim 2023-03-02 14:01:52 +01:00
  • f7dcc1c445 Games.xml and README.txt updated by Brian Troha (new Ocean Hunter ROM sets and several updates to version descriptions, etc.) Bart Trzynadlowski 2023-03-06 21:47:03 -08:00
  • ffc320904e Update README.md with macOS build details The Brink of Tomorrow 2023-02-25 10:39:00 -05:00
  • 78f5056223 Add missing filename to ErrorLog call. Aaron Paden 2022-12-28 21:56:34 -06:00
  • 7e025e64a2 Memory allocated but not released. CapitaineSheridan 2022-12-23 11:29:30 +01:00
  • 69a458ecf7 Make sure to invalidate texture memory when going fullscreen otherwise it might not be syned correctly. Ian Curtis 2022-12-25 00:32:01 +00:00
  • 11c01a349f SDL_SetWindowFullscreen isn't needed as we call ResizeGLScreen which sets the fullscreen mode afterwards. Ian Curtis 2022-12-24 23:54:47 +00:00
  • 6dcf144694 We must explicitly call SDL_SetWindowFullscreen after setting the display mode otherwise the refresh rate doesn't change. Ian Curtis 2022-12-24 17:29:08 +00:00
  • ad0aed42a4 be a bit more flexible with the display frequencies we'll match Ian Curtis 2022-12-19 14:11:21 +00:00
  • 25604512f4 The model 3 (actually model 1,2 and 3) all used some crazy refresh rate of 57.524hz. If your screen refresh rate is 60hz, supermodel will work fine, but really run too fast. Anyway if you create a custom refresh rate, supermodel will automatically pick this, and set it when the emulator is in fullscreen mode. Apparently this works with most monitors, even cheapo low end ones. Ian Curtis 2022-12-19 00:13:08 +00:00
  • 984f78ad1b Merge branch 'master' of https://github.com/trzy/Supermodel Ian Curtis 2022-12-17 23:46:11 +00:00
  • 57ead6037d Better opengl resource allocation. Fixes going fullscreen and back. Ian Curtis 2022-12-17 23:46:02 +00:00
  • 50d947deee Add FileSystemPath.cpp to Visual Studio project gm-matthew 2022-12-14 00:39:13 +00:00
  • d83e4754fe Fixed build on macOS Fernando Casas Schössow 2022-12-06 13:25:20 +01:00
  • 07429b9187 Switched to Util::Format() to generate screenshot filename Fernando Casas Schössow 2022-12-04 19:42:19 +01:00
  • 317f8bacde First review code changes (identation and cosmetic changes) Fernando Casas Schössow 2022-11-21 22:27:15 +01:00
  • d11efb8553 Changed pathType from string var to enum Fernando Casas Schössow 2022-11-15 17:40:01 +01:00
  • df7787f040 Keep Supermodel files (config, nvram, saves, etc.) in a predictable path when running on Linux Fernando Casas Schössow 2022-11-14 20:06:09 +01:00
  • db455ba5c1 add undefd codepath for correct use of the 18bit DAC path (which seems to be triggered for all games) toxieainc 2022-11-08 08:11:14 +01:00
  • 153c510009 Fix uniform location. Ian Curtis 2022-11-26 12:58:07 +00:00
  • 7513cc769a Update Model3.cpp Matthew Daniels 2022-11-25 23:02:37 +00:00
  • 6a392f2cc9 Add comment gm-matthew 2022-11-25 22:44:22 +00:00
  • 916d3d3af1 whitespace gm-matthew 2022-11-22 02:02:10 +00:00
  • 2063303a4d Wait until IRQ2 is acknowledged before starting IRQ40 sequence. Fixes Ski Champ hanging at FBI screen when region set to USA gm-matthew 2022-11-22 01:43:38 +00:00
  • 79a2414f3f Incomplete texture headers uploaded via FIFO are now discarded. Ski Champ sends one more 32-bit word via DMA than it should which was causing Supermodel to erroneously intepret the extra word as another texture gm-matthew 2022-11-20 01:27:50 +00:00
  • acc7161ca5 [Makefile.Win32] $MSYSTEM check never fails. ToBul 2022-11-13 03:16:45 +00:00
  • 5f30614c4c FIx shaders failing to build on apple h/w Ian Curtis 2022-11-09 18:56:15 +00:00
  • fe36b07702 Update makefile Ian Curtis 2022-11-08 10:35:05 +00:00
  • e47258c61d Remove some left over depreciated opengl functions. They were basically no-op anyway with shader path. Ian Curtis 2022-11-07 23:52:44 +00:00
  • 9348fd852d Merge branch 'master' of https://github.com/trzy/Supermodel Ian Curtis 2022-11-07 21:33:08 +00:00
  • 40c8259130 Rewrite the whole project for GL4+. I figured if we removed the limitation of a legacy rendering API we could improve things a bit. With GL4+ we can do unsigned integer math in the shaders. This allows us to upload a direct copy of the real3d texture sheet, and texture directly from this memory given the x/y pos and type. This massively simplifies the binding and invalidation code. Also the crazy corner cases will work because it essentially works the same way as the original hardware. Ian Curtis 2022-11-07 21:33:01 +00:00
  • 4c727abdc8 change all INT16 mixing/intermediate clamping to floats toxieainc 2022-11-03 11:49:35 +01:00
  • 121f81c742 68K now uses run-time hooks for IRQ and instruction hook callbacks Bart Trzynadlowski 2022-11-02 15:38:52 -07:00
  • 33c04ce345 Games.xml: Added re-dumped magtruck and retained old ROM set with patch (mgtrkbad) for users who fail to obtain newest MAME ROMs Bart Trzynadlowski 2022-10-29 11:44:34 -07:00
  • b2e5a200da Fix build for linux (just missing header) Ian Curtis 2022-10-17 09:34:11 +01:00
  • f0872cc998 Upgrade the glsl shader class a bit. Add a const char* comparitor so we can use a map with a simple "string" key. Fine to use when performance is not critical. Ian Curtis 2022-10-16 21:03:41 +01:00
  • 6fbf938335 Add a proper git ignore file .. And fix the legacy renderer to build with new visual studio (2019) Ian Curtis 2022-10-16 20:45:40 +01:00
  • e644751f01 after clarifications, minor cleanup toxieainc 2022-10-07 09:01:45 +02:00
  • 75771b3d14 remove 2 dupe function calls, where ProcessLos should actually be rather costly toxieainc 2022-10-05 16:50:03 +02:00
  • 412e9232d7 Fix new 3D engine texture2DLod function missing error on Linux/MESA. MESA requires needed extensions to be explicitly declared in code otherwise it will not enable them. Fernando Casas Schössow 2022-10-04 08:23:11 +02:00
  • aae58edd62 change one more place with potential aliasing issue toxieainc 2022-10-03 04:47:39 +02:00
  • 5f97e5af6c address review toxieainc 2022-10-03 04:30:59 +02:00
  • 519d695f57 address review and move bit casts to new header toxieainc 2022-10-01 03:44:22 +02:00
  • 1b0e3be8dc use correct slash toxieainc 2022-08-25 21:58:20 +02:00
  • 22ffb5cc19 Harmless math warning fixes. map->unordered_map in CNew3D::CacheModel. Avoid general aliasing problems (using bit_cast or the recommended/optimized-away memcpy). toxieainc 2022-08-19 21:34:22 +02:00
  • 0eef09ba2b Revert "port some changes from MAME/MESS" toxieainc 2022-08-08 09:18:59 +02:00
  • d7041a83c9 fix missing version GLSL compiler warnings on startup toxieainc 2022-07-23 00:18:02 +02:00
  • 7052e8375e port some changes from MAME/MESS toxieainc 2022-07-18 22:45:23 +02:00
  • a60f99848f Revert "port some changes from MAME/MESS" toxieainc 2022-08-08 09:18:59 +02:00
  • 6c24bf7c8f Optimize quad rendering by replacing the double computations for the area computation with the equivalent shoelace algorithm along with kahans algorithm to compute the cross products. In addition pull out the /w to the end, which increases precision even more. toxieainc 2022-07-23 00:05:54 +02:00
  • d919f3865c port some changes from MAME/MESS toxieainc 2022-07-18 22:45:23 +02:00
  • dda6d4cf95 Added some options to default Supermodel.ini that otherwise are not documented anywhere because README.txt is out of date Bart Trzynadlowski 2022-08-16 18:33:33 -07:00
  • e06788e768 Fix SUPERMODEL_DEBUGGER build. - Ian ToBul 2022-08-14 11:10:13 +01:00
  • d4633a868d Revert "port some changes from MAME/MESS" toxieainc 2022-08-08 09:18:59 +02:00
  • 03002d3f22 port some changes from MAME/MESS toxieainc 2022-07-18 22:45:23 +02:00
  • 2df681f009 equivalent optimizations, NFC toxieainc 2022-07-18 22:41:36 +02:00
  • cb9d73c9d0 port some (simple) changes from MAME/MESS toxieainc 2022-07-18 22:26:11 +02:00
  • d60feab2ca Merge pull request #1 from toxieainc/master trzy 2022-07-18 13:00:27 -07:00
  • 7b87908631 Merge branch 'trzy:master' into master toxie 2022-07-18 21:53:49 +02:00
  • 27e071dafb add comment toxieainc 2022-07-18 21:43:13 +02:00
  • dda48d7606 address review toxieainc 2022-07-17 20:29:25 +02:00
  • 24173a2140 revert "" -> std::string() toxieainc 2022-07-17 20:25:51 +02:00
  • c42a2d8951 check for __GNUC__ instead of just assuming it toxieainc 2022-07-17 20:23:11 +02:00
  • bd4399bcea Merge pull request #2 from ToBul/master trzy 2022-07-16 21:01:44 -07:00
  • e1e61c4bdc Games.xml: Align ROM names with MAME. Tony Bulmer 2022-07-12 10:45:39 +01:00
  • abb1273aa0 slightly optimize DrawTileLine (less branches/logic) toxieainc 2022-07-11 18:49:02 +02:00
  • b98be0c2e7 optimize ReadRegister, as localtime (at least on MSVC/Windows) is significantly showing up in profiling toxieainc 2022-07-11 18:47:13 +02:00
  • ba7145df52 use intrinsics for endian swap toxieainc 2022-07-11 18:42:15 +02:00
  • b2b8396947 missed 2 changed files with last commit toxieainc 2022-07-11 18:27:44 +02:00
  • 4961951a89 fix a real error (m68kdasm) and some harmless performance warnings and use modern headers toxieainc 2022-07-11 18:10:41 +02:00
  • e0053b3a46 fix some real errors (Model3,InputSystem), minor errors (SCSP,SDL/Main) and some performance warnings toxieainc 2022-07-11 17:43:59 +02:00
  • 46eff8c5eb supermodel_build_bot.py: New build bot script for GitHub Bart Trzynadlowski 2022-06-23 14:06:07 -07:00
  • 35a7e8a60b Update README.md trzy 2022-06-25 15:53:36 -07:00