Remove C++ syntax from card.h and pad.h (#105)

This commit is contained in:
Dávid Balatoni
2026-04-07 21:36:06 +02:00
committed by GitHub
parent 81e43dab4f
commit f173c876de
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -1,7 +1,6 @@
#ifndef _DOLPHIN_CARD_H_
#define _DOLPHIN_CARD_H_
#include <string_view>
#include <dolphin/os.h>
#include <dolphin/dsp.h>
#include <dolphin/dvd.h>
+2 -2
View File
@@ -41,7 +41,7 @@
#define PAD_BUTTON_MENU 0x1000
#define PAD_BUTTON_START 0x1000
const static uint32_t PAD_BUTTON_COUNT = 12;
#define PAD_BUTTON_COUNT 12
// added by Aurora, not present in original SDK
#define PAD_AXIS_LEFT_X_POS 0
@@ -55,7 +55,7 @@ const static uint32_t PAD_BUTTON_COUNT = 12;
#define PAD_AXIS_TRIGGER_L 8
#define PAD_AXIS_TRIGGER_R 9
const static uint32_t PAD_AXIS_COUNT = 10;
#define PAD_AXIS_COUNT 10
#define PAD_CHAN0_BIT 0x80000000
#define PAD_CHAN1_BIT 0x40000000