From 8952dc1c96497d531c8a29e785bf96ac1b000fd6 Mon Sep 17 00:00:00 2001 From: hcjn0770 Date: Mon, 20 Dec 2021 13:18:25 +0800 Subject: [PATCH] GGPOSession variable needs to be defined as a pointer --- doc/DeveloperGuide.ja.md | 2 +- doc/DeveloperGuide.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/DeveloperGuide.ja.md b/doc/DeveloperGuide.ja.md index 228fe1fe..421f99ce 100644 --- a/doc/DeveloperGuide.ja.md +++ b/doc/DeveloperGuide.ja.md @@ -34,7 +34,7 @@ GGPOは新規および既存のゲームエンジンと簡単に繋ぎ込みが 例えば、ポート8001にバインドされた別のプレイヤーと同じホストで新しいセッションを開始する場合、次のようになります。 ``` - GGPOSession ggpo; + GGPOSession *ggpo; GGPOErrorCode result; GGPOSessionCallbacks cb; diff --git a/doc/DeveloperGuide.md b/doc/DeveloperGuide.md index c21047da..4a2c3ea8 100644 --- a/doc/DeveloperGuide.md +++ b/doc/DeveloperGuide.md @@ -34,7 +34,7 @@ The `GGPOSession` object is your interface to the GGPO framework. Create one wi For example, to start a new session on the same host with another player bound to port 8001, you would do: ``` - GGPOSession ggpo; + GGPOSession *ggpo; GGPOErrorCode result; GGPOSessionCallbacks cb;