Brett Lawson
279aae8a05
cafe/sndcore2: Fixed audio hardware being initialized with wrong output rate.
...
The hardware always outputs at 48000, however the DSP is
capable of performing upscaling when necessary.
2018-08-31 04:44:21 -07:00
Brett Lawson
315af58b80
sdl/audio: Fixed audio initialization errors.
...
By passing in a second parameter to SDL_OpenAudio, you are
telling SDL that you are happy to have the audio formats
changed under you. We do not want this as we want SDL
to handle the conversions away from hardware buffers.
2018-08-31 04:44:21 -07:00
Brett Lawson
01772b771f
cafe/coreinit: Fix MemAllocator static data not being initialized.
2018-08-31 04:44:21 -07:00
James Benton
134e14d6da
cafe/nn_nfp: Add missing RegisterDataInternal.
2018-08-31 09:50:12 +01:00
Brett Lawson
1f41a11faa
cafe/coreinit: Fixed OSFastMutex being placed in wrong contention queue.
2018-08-31 01:39:08 -07:00
Brett Lawson
b66ddf89bc
cafe/fs: Fix incorrectly specified max path length.
2018-08-31 01:39:08 -07:00
James Benton
1b4a195de2
common: Fix type conversions in platform_winapi_string.
2018-08-31 09:13:22 +01:00
James Benton
fc177ad2a5
cafe/coreinit: Update coreinit_atomic to use be2_atomic.
2018-08-31 09:13:09 +01:00
James Benton
dca859fc0e
cpu: Improve be2_atomic, adding missing methods.
2018-08-31 09:12:59 +01:00
James Benton
00e08d903c
cafe/hle: Fixed inconsistent kernel trace logging.
...
Attempt #2 , hopefully it's more kind to MSVC.
2018-08-31 08:20:16 +01:00
James Benton
a9861c2c95
Revert "cafe/hle: Fixed inconsistent kernel trace logging."
...
Gives lots of internal compiler errors on MSVC.
This reverts commit da21603a70 .
2018-08-31 08:19:24 +01:00
Brett Lawson
da21603a70
cafe/hle: Fixed inconsistent kernel trace logging.
...
The kernel trace logger was no accurate in determining
the first vs. later arguments with intermixed GPR/FPR
usage, as well as with variadic arguments. This commit
adds the argument number to the parameter data to allow
the trace logger to accurately generate the log message.
2018-08-30 16:44:48 -07:00
Brett Lawson
2169c343af
cafe/hle: Fixed error with va_arg handling.
...
Previously we assumed that there was some constant
base GPR which is considered when saving va_args.
In reality, all registers from r3->r11 are saved
and the va_list gpr/fpr values point to the start
of the va_args in that va_list (as it will store
non-variadic data to the reg_savearea too).
Note: There appears to still be an unrelated but
visible issue with reading of FPR va_args.
2018-08-30 16:42:45 -07:00
Brett Lawson
72227b5010
cafe/dynload: Fixed refcount in AcquireContainingModule.
2018-08-30 14:48:27 -07:00
Brett Lawson
442aa3623c
cafe/hle: Fixed threads writing result data to other cores.
2018-08-30 14:47:49 -07:00
Brett Lawson
615c23a20d
cafe/sndcore2: Fix alarm thread priority.
2018-08-30 06:17:15 -07:00
Brett Lawson
d797cf92a9
cafe/coreinit: implement handling of thread types
2018-08-30 05:53:08 -07:00
James Benton
7fbd7af4ca
cafe/coreinit: Fix LCAlloc scanning for free bits.
2018-08-30 11:56:25 +01:00
James Benton
3d941edbe1
ios/mcp: Add missing call to initialiseStaticPpcThreadData.
2018-08-30 11:52:23 +01:00
James Benton
93f04a7a63
ios/kernel: Fix scheduling a nullptr thread when a thread queue is empty.
2018-08-30 11:52:23 +01:00
James Benton
ee0aeadee9
ios/kernel: Fix heapFree with nullptr consecutive block.
2018-08-30 11:52:23 +01:00
James Benton
8280b9683b
ios/kernel: Start hardware thread after setup.
2018-08-30 11:52:23 +01:00
James Benton
de72693428
ios/kernel: Initialise LT_INTMR_AHBALL_ARM explictily.
2018-08-30 11:52:23 +01:00
James Benton
9809853451
cafe/loader: Reorder to avoid any usage of a null pointer.
2018-08-30 11:52:23 +01:00
James Benton
6a7a648c9c
cafe/nn_ac: Add some C API functions.
2018-08-30 11:52:22 +01:00
Brett Lawson
a6ffeeb2e8
cafe/hle: Fix 64-bit vararg alignment.
2018-08-30 03:28:17 -07:00
Brett Lawson
8c47dfe9be
cafe/coreinit: Fix LCAlloc not allowing full use of the cache.
2018-08-30 03:28:17 -07:00
James Benton
4f4da5fc71
cafe/nsysnet: Rename endian functions to avoid conflict with macros in MacOS headers.
2018-08-30 10:59:56 +01:00
James Benton
3636928ad4
cafe/coreinit: Fix exiting from coreinit.
...
Was using host ::exit but should be using ghs_exit.
2018-08-30 10:38:10 +01:00
James Benton
7028f8573c
cafe/gx2: Fix type conversion error.
2018-08-30 10:36:14 +01:00
James Benton
6aab17bab5
cafe/dmae: Remove old using namespace.
2018-08-30 10:19:57 +01:00
James Benton
891e8c8de2
cafe/dmae: Fix DMAEGetRetiredTimeStamp.
2018-08-30 10:18:26 +01:00
James Benton
8b9d1cc115
cpu: Add be2_atomic, used by coreinit_spinlock.
2018-08-30 10:05:19 +01:00
James Benton
42d0764d4c
cafe/kernel: Fix argstr when cos.xml does not exist.
2018-08-30 09:47:56 +01:00
James Benton
8934990a63
cafe/coreinit: Fix dynload internalAcquire uninitialised numEntryModules.
2018-08-30 09:47:41 +01:00
James Benton
6c8266c80e
cafe/loader: Fix error codes in LiLoadRPLBasics attempts.
2018-08-30 09:47:18 +01:00
James Benton
720af9709a
cafe/loader: Fix LOADER_Init passing unresolved module name to LiLoadForPrep.
2018-08-30 09:47:05 +01:00
James Benton
2365e95fe0
cpu: Disable fmtlib convert_to_int for be2_val.
...
Fixes a compile bug on clang.
2018-08-30 09:06:28 +01:00
James Benton
5ec903cabb
cafe/hle: Add virtual destructor to LibrarySymbol.
2018-08-30 09:05:49 +01:00
James Benton
68c2385ad0
cafe/zlib: Fix some type conversions.
2018-08-30 09:05:35 +01:00
James Benton
0c867d9f12
cafe/kernel: Remove ded code.
2018-08-30 09:05:25 +01:00
James Benton
6c6a636df6
cafe: Change cafe_ppc_interface register indices to int type.
...
Because we set to -1...
2018-08-29 21:49:13 +01:00
James Benton
c1983cf03b
cafe/loader: Ignore R_PPC_NONE relocations.
2018-08-29 21:49:13 +01:00
Brett Lawson
f2692467b1
Improve printing of kernel trace string arguments.
2018-08-29 12:14:58 -07:00
Brett Lawson
118d87b279
Fixed DMAE not initializing its static data.
2018-08-29 12:14:58 -07:00
James Benton
f8cccf5191
debugger: Fix IsItemHovered call for graph plot.
2018-08-29 14:35:44 +01:00
James Benton
a59a474745
cafe/kernel: Fix duplicated nia in core register dump.
2018-08-29 14:35:28 +01:00
James Benton
9e50ccd177
cpu/jit: Allocate verify buffer on heap instead of stack.
2018-08-29 13:58:55 +01:00
James Benton
ca3ea69fde
decaf-sdl: Add exports to use prioritise discrete Nvidia and AMD GPUs.
2018-08-29 12:14:42 +01:00
James Benton
3a204096eb
decaf-sdl: Add a manifest file for Windows DPI awareness.
2018-08-29 12:14:14 +01:00