Commit Graph

25 Commits

Author SHA1 Message Date
Snowy 8657d3e4b6 Fix GB_ENUM on C++
The else branch results in an error from defining a type in a cast.
2023-10-28 14:20:31 +02:00
Lior Halphon fef175dcc6 Use #pragma once for include guards, use #import exclusively on Obj-C files 2023-06-09 14:44:57 +03:00
Lior Halphon d62132be38 These should be in defs.h 2023-06-03 21:54:01 +03:00
Lior Halphon be171cfe66 Add a library target, complete with headers that strip implementation details out. 2023-06-03 14:39:21 +03:00
Lior Halphon 237e127b36 Add a comment 2023-04-11 12:37:13 +03:00
Lior Halphon 4421dedbb9 One last attempt 2023-04-11 12:33:10 +03:00
Lior Halphon 479c16e698 Try a better hint 2023-04-11 12:30:05 +03:00
Lior Halphon aaba172c02 This might hint GCC 9 and make it suck less 2023-04-11 12:23:50 +03:00
Lior Halphon 830f2ddc38 Break save state compatibility. Windows save states should now work with non-Windows save states again. 2023-02-04 02:13:01 +02:00
Lior Halphon 0549dc702c Add an API to get the model from the state file 2023-01-15 19:15:45 +02:00
Lior Halphon d9bf739f52 Remove auto-generated comments 2023-01-12 23:19:24 +02:00
Lior Halphon 08549c1395 Typo 2022-07-19 02:19:31 +03:00
Lior Halphon 541dbc5db3 One last try 2022-07-19 01:52:38 +03:00
Lior Halphon 110deee6f8 Oops 2022-07-18 23:22:23 +03:00
Lior Halphon 09cbf6a13f Fix GCC C++ warning? #464 2022-07-18 22:19:10 +03:00
orbea fefb81ab65 gb.h: Silence -pedantic warnings
Silences warnings such as the following when including gb.h as a dependency.

gb.h:385:6: warning: extra ';' inside a struct [-Wextra-semi]
    );
     ^
2022-01-13 20:12:58 -08:00
Lior Halphon 02f55d12d3 Maybe one day GCC will stop being shit at handling __attribute__s 2021-11-07 14:13:52 +02:00
Lior Halphon 18e7a3f4fa Cleanup, better symbol handling, improves LTO 2021-11-07 13:39:18 +02:00
Lior Halphon 1f7b20251b Improved sanitation for save states for better security and stability 2021-10-30 16:03:13 +03:00
Lior Halphon 8068ff41fb Fix potential future compatibility issue, update workflow environments 2021-09-29 21:57:39 +03:00
Lior Halphon 8a84a5897e Allow drag&drop of state files 2021-04-14 15:20:01 +03:00
Lior Halphon fada772cb1 Don't use BESS for internal in-memory saves 2021-04-13 20:35:07 +03:00
Lior Halphon c35fe8b517 Make `gb.h` compatible with C++ again for bsnes integration. Fixed #300 2020-10-09 16:39:23 +03:00
Lior Halphon b6b56d0766 Fix various save state compatibility issues between Windows and non-Windows, and a potential crash 2020-06-10 22:46:19 +03:00
Lior Halphon babcc0a7dc Added API to load/save states from RAM 2017-06-14 00:23:34 +03:00