Commit Graph

733 Commits

Author SHA1 Message Date
twinaphex
6f020ffe79 Revert "Updates"
This reverts commit 411233cfdf.
2020-08-16 03:16:45 +02:00
twinaphex
411233cfdf Updates 2020-08-16 03:15:28 +02:00
Alexandre-Xavier Labonté-Lamoureux
ba6602ecf4 Fix buffer overflow in M_LoadDefaultsFile
CVE-2020-15007: https://nvd.nist.gov/vuln/detail/CVE-2020-15007
2020-06-25 23:30:04 -04:00
twinaphex
9cbbebe402 Optimize logging 2020-06-17 10:46:32 +02:00
Autechre
0d38f5da01
Merge pull request #139 from phcoder/wii
Fix and cleanup flags for gekko platforms
2020-05-17 23:57:03 +02:00
twinaphex
4d7d3207c9 Won't compile on old OSX PowerPC GCC 2020-05-17 23:01:04 +02:00
Vladimir Serbinenko
341170d70f Fix and cleanup flags for gekko platforms 2020-05-14 10:04:49 +02:00
Autechre
f3063bf789
Merge pull request #138 from phcoder/be
Update libretro-common and support big-endian linux
2020-05-04 21:31:49 +02:00
Vladimir Serbinenko
5b64cf1468 Switch from ad-hoc endianness handling to retro_endianness.h 2020-05-04 21:08:40 +02:00
Autechre
fd7306eed4
Merge pull request #137 from phcoder/untracked2
Add file_path_io.c as it's required for linux compilation
2020-04-08 23:17:22 +02:00
Vladimir Serbinenko
eb86d72bec Add file_path_io.c as it's required for linux compilation 2020-04-02 23:31:42 +02:00
hizzlekizzle
a9cbd76641
Merge pull request #136 from phcoder/untracked
Add back missing files
2020-04-02 12:16:50 -05:00
Vladimir Serbinenko
c86b00f032 Add back missing files 2020-04-02 19:11:44 +02:00
Autechre
8d54bfa336
Merge pull request #135 from phcoder/psl1ght
Psl1ght support
2020-04-02 12:36:32 +02:00
Vladimir Serbinenko
333c8dc40b Fix psl1ght defines 2020-03-30 13:24:11 +02:00
Vladimir Serbinenko
dc45854223 Update VFS-related parts of libretro-common 2020-03-30 13:23:50 +02:00
Autechre
e3fd54321f
Merge pull request #133 from phcoder/crash
retro_run: Don't attempt to run domm lop after exit
2020-03-15 18:56:53 +01:00
Vladimir Serbinenko
6ce9d90685 retro_run: Don't attempt to run domm lop after exit
This fixes crash on exit on 3DS
2020-03-15 16:55:57 +01:00
twinaphex
991016b3c7 MSVC buildfix 2020-02-29 08:45:59 +01:00
Twinaphex
888535fd61
Merge pull request #130 from Ferk/master
Make sure variable declaration is C89 compatible
2020-02-28 17:59:59 +01:00
Twinaphex
aa7d285a7a
Merge pull request #131 from Ferk/fixed_t
Use fixed point in precise flat calculation
2020-02-22 19:00:25 +01:00
Fernando Carmona Varo
6040efcc4c Use fixed point in precise flat calculation
This should work well now also in ARM and other platforms
2020-02-22 18:48:58 +01:00
Fernando Carmona Varo
4b1089193a Make sure variable declaration is C89 compatible 2020-02-22 16:24:10 +01:00
Twinaphex
e43161588d
Merge pull request #129 from phcoder/axis
Add joystick axis to the control descriptors
2020-02-22 07:50:51 +01:00
Vladimir Serbinenko
aecfb4141c Add joystick axis to the control descriptors
This allows to easily remap them in frontend
2020-02-21 01:33:25 +01:00
twinaphex
1e5faec9ba C89 buildfixes 2020-02-18 00:18:02 +01:00
Twinaphex
4e141d4e0f
Merge pull request #128 from Ferk/state
Interpolation on state serialization
2020-02-18 00:14:25 +01:00
Fernando Carmona Varo
9eb4a04874 Increase size of savestate to fit MAP19
Also fix attempt to realloc savebuffer
2020-02-17 22:30:42 +01:00
Fernando Carmona Varo
e07ea35440 Fix savestate load from non-level state to level 2020-02-17 19:45:23 +01:00
Fernando Carmona Varo
2bda71a1bb Avoid glitchy mobj interpolation when rewinding
Non-player objects position won't be as smooth when rewinding, but we
can save size of the savestate with not much of an impact.
2020-02-17 18:45:20 +01:00
Fernando Carmona Varo
fcd7e5e506 Fix warnings on mingw64 2020-02-17 16:50:51 +01:00
Fernando Carmona Varo
ab7f6b5a64 Do not alter gameaction on G_DoSaveGameToBuffer
This save action is independent of game logic actions or menu options,
It's triggered from libretro at arbitrary time, changing gameaction could
cause conflicts if unlucky.
2020-02-17 16:33:12 +01:00
Fernando Carmona Varo
1d9867f6d4 Determine if "gameless" savestate from "gamestate"
It should be GS_LEVEL whenever a level is loaded.
No need to have it saved in a separate extra variable
2020-02-17 16:31:57 +01:00
Fernando Carmona Varo
1bb5f0ff3e Interpolation support for serialized states 2020-02-17 15:06:34 +01:00
Fernando Carmona Varo
0e11406f9c Only tick menu when active 2020-02-17 12:01:09 +01:00
Fernando Carmona Varo
f6d6ac2be4 Use gametic instead of skullAnimCounter 2020-02-17 11:56:10 +01:00
Fernando Carmona Varo
d9d59f7909 Fix menu skull blinking 2020-02-17 11:49:58 +01:00
Fernando Carmona Varo
d8a6b1101a Do not reallocate or memcpy save state buffer
The save buffer does not need to be reallocated, we can operate
directly with the buffer provided by libretro without needing to copy
it over.
2020-02-16 21:37:14 +01:00
twinaphex
d70600e7b7 C89 buildfixes 2020-02-16 16:41:19 +01:00
Twinaphex
268281d00b
Merge pull request #126 from phcoder/state
Implement retro_serialize and retro_unserialize.
2020-02-16 13:25:32 +01:00
Vladimir Serbinenko
e4113e85c7 Implement retro_serialize and retro_unserialize.
This allows among other things rewinding.
2020-02-16 05:19:32 +01:00
Twinaphex
c20322a23f
Merge pull request #127 from phcoder/doublefree
Fix double-free on failed load
2020-02-12 07:53:18 +01:00
Vladimir Serbinenko
2487001e31 Fix double-free on failed load 2020-02-12 00:55:11 +01:00
twinaphex
0d729b7a5c Add 300fps/360fps modes 2020-01-07 18:29:34 +01:00
twinaphex
32911c265a Fix MSVC solutions 2020-01-07 15:27:48 +01:00
twinaphex
0128c1e0b8 (MSVC 2017) Buildfix - not yet complete 2020-01-07 00:15:15 +01:00
Twinaphex
2bee75833e
Merge pull request #125 from ToadKing/fix-emscripten
fix emscripten
2020-01-04 19:52:20 +01:00
Toad King
a6a157106c fix emscripten 2020-01-04 12:11:53 -06:00
twinaphex
74c8fb7d33 Revert auto framerate option until issues are resolved 2019-10-21 04:28:58 +02:00
Twinaphex
aca275c1c3
Merge pull request #122 from Ferk/master
Fixes for eternall.wad and musinfo
2019-10-20 03:12:36 +02:00