mirror of
https://github.com/n64dev/cen64.git
synced 2024-06-23 14:33:13 -04:00
Add a temporary fix to restore builds on MSVC.
This commit is contained in:
parent
d839dd57a3
commit
315a1220c7
|
@ -92,7 +92,9 @@ struct vr4300 {
|
|||
struct vr4300_pipeline pipeline;
|
||||
|
||||
// Align the TLB to a 16-byte boundary for vectorization.
|
||||
uint8_t padding_for_tlb[(16 - (sizeof(struct vr4300_pipeline) % 16)) % 16];
|
||||
// TODO: Handle the fact that MSVC doesn't like 0-sized arrays.
|
||||
//uint8_t padding_for_tlb[(16 - (sizeof(struct vr4300_pipeline) % 16)) % 16];
|
||||
uint8_t padding_for_tlb[16 - (sizeof(struct vr4300_pipeline) % 16)];
|
||||
struct vr4300_cp0 cp0;
|
||||
struct vr4300_cp1 cp1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue